Closed cynicaljoy closed 13 years ago
Project classes will be used by the autocompletion system. A saved tmproj file is needed to indicate the project root directory, then the values found in TM_AS3_USUAL_SRC_DIRS are used to identify the base directories containing source files. By default these are src, source, test, lib, AS3Lib.
ok well I finally got back to attempting to get this to work with my project type, I created a demo project and took a screenshot of what is happening for me.
I created the tmproj file and added a property (as I believe you were instructing above) but when I attempt to import my class (com.demo.ui.BasicSprite) the class path that the bundle is attempting to load is: classes.com.demo.ui.BasicScript, how do I correct this?
Thanks!
I also tried to go into the ./Actionscript 3.tmbundle/Preferences/Settings.tmPreferences file and over-ride the 'src' with 'src/classes' but same result.
Never mind, I think I was editing the wrong bundle because I modified the TM_AS3_USUAL_SRC_DIRS value by opening the Bundle Editor and it works as expected. Thanks!
Cool. Glad you found the solution.
It would be awesome if you could support shell variables so that per project users could specify a shell variable to be used for their 'source path' so that auto completion could support their project classes.