Home Download Buy Blog Forum Support

SublimeJava changing custom class

SublimeJava changing custom class

Postby Submerged on Fri Feb 01, 2013 12:05 am

I am using SublimeJava and it's working great for me except one tiny thing. When I have a custom class and make changes to it, those changes are only reflected when I restart SublimeText. For example, if I change doStuff() to doStuff2 in the example below, SublimeJava autocomplete holds on to doStuff and fails to see doStuff2 until I restart

Code: Select all
public class Test {
   public Test(){
   public void doStuff(){

I have my sublimejava_srcpath sublimejava_classpath set in my project file as well. Thank you :)
Posts: 5
Joined: Mon Jan 21, 2013 2:21 am

Re: SublimeJava changing custom class

Postby quarnster on Fri Feb 01, 2013 6:38 am

There shouldn't be any caching and if there is it's a bug. BUT the completion lookup is done via java's reflection api so you need to compile your changed java sources so that the reflection api knows about the change. If after you've compiled the source code it's still giving you the wrong completion, please open up an issue on github with more details and I'll take a look.
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 23 guests