PDA

View Full Version : Writing packages in VS2015



janschummers
13 Oct 2015, 11:51 PM
Hey,

first of all, thanks for the plugin. This is sth I waited for since some time!

I'm working on a package for a bigger extjs project. So my visual studio project doesn't have a complete app structure (no folder app, no bootstrap.json etc...)

My question:
How can I use intellisense without ceating a folder "Sencha" manually and adding the ext library packages.
Can I use "sencha app watch" only on packages, so it compiles my scss files?

Thank you very much!
Best regards,
Jan

AlexanderDrackaProfiq
3 Dec 2015, 4:28 AM
Hello janschummers,
first of all I'm sorry for so late reply. The GA release of the Visual Studio Plugin is public so we hope that you will enjoy it. About your questions:
1. The Plugin supports IntelliSense for any project's structure. The only thing that you have to do is create a config file in your root directory (where .sln file is stored) which link your solution with your local ExtJS SDK directory. For more information look at documentation (https://docs.sencha.com/ide_plugins/visual_studio_ide_plugin.html#_sencha_ide_config_file__optional_). The path value is kind of tricky so please look at my config file:

{
"apps": [
{
"name": "MyApp",
"path": "TestIdeConfig\\ExtJS_App",
"toolkit":"classic",
"sdk": {
"path": "c:\\Users\\Alexander\\Documents\\frameworks\\ext-6.0.1.250",
"version": "6.0.1.250",
"framework": "extjs"
}
}
]
}

2. You can use app watch only for the Sencha project templates.

I hope it helps :-?. In case of any questions or problems please let me know.
Have a nice day.