Results 1 to 2 of 2

Thread: Writing packages in VS2015

  1. #1
    Sencha Premium Member
    Join Date
    Jul 2015
    Posts
    1

    Default Answered: Writing packages in VS2015

    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:
    1. How can I use intellisense without ceating a folder "Sencha" manually and adding the ext library packages.
    2. Can I use "sencha app watch" only on packages, so it compiles my scss files?

    Thank you very much!
    Best regards,
    Jan

  2. 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. The path value is kind of tricky so please look at my config file:
    Code:
    {     
        "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.

  3. #2
    Sencha User
    Join Date
    Sep 2015
    Location
    Czech republic
    Posts
    20
    Answers
    5

    Default

    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. The path value is kind of tricky so please look at my config file:
    Code:
    {     
        "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.

Similar Threads

  1. Localizing packages.
    By fmanaya in forum Ext 5: Q&A
    Replies: 0
    Last Post: 26 May 2015, 12:08 AM
  2. Any changes with packages?
    By heljo05 in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 23 May 2015, 12:09 PM
  3. Replies: 1
    Last Post: 17 Jan 2014, 5:24 AM
  4. Namespaces / packages
    By tob1 in forum Sencha Ext JS Q&A
    Replies: 3
    Last Post: 12 May 2009, 4:44 AM
  5. 2.0 Packages
    By INeedADip in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 20 Dec 2007, 11:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •