1. Are you planning to upload your awesome tool to Hive? Please review the rules here.
    July 9, 2018: The rules for the Tool Section have been revised. Please be sure to read the revisions.
    Dismiss Notice
  2. The poll for our 11th Music Contest is up! Help us choose the most awesome cinematic tracks by casting a vote!
    Dismiss Notice
  3. Melee Mapping contest #3 - Poll is up! Vote for the best 4v4 melee maps!
    Dismiss Notice
  4. The 30th edition of the Modeling Contest is finally up! The Portable Buildings need your attention, so come along and have a blast!
    Dismiss Notice
  5. The Aftermath has been revealed for the 19th Terraining Contest! Be sure to check out the Results and see what came out of it.
    Dismiss Notice

vjass support extension for Visual Studio Code

Submitted by Faked Weiss
This bundle is marked as approved. It works and satisfies the submission rules.
# Abstract
I made an extension for the coders who wants to use jass or vjass on the Visual Studio Code. The latest version of this extension is 0.0.7, I've made a lot of coooool features of this extension. Enjoy the extension. If you find any bugs or you have any questions of this extension, just contact me.

# Some ScreenShots
completion:
[​IMG]

references:
[​IMG]

definition:
[​IMG]

hover:
[​IMG]


# Useful Links
github: GitHub - FakedWeiss/awesome-vjass-support
vscodepage: awesome vjass support - Visual Studio Marketplace


# Change Log

  • 0.0.8
  • bugs fixed; refactoring reference provider; add .allocate .create .destroy .execute .evaluate to completion provider.
  • 0.0.7
  • fixed a bug in symbol provider.
  • 0.0.6
  • now the intellisense features works by searching over the whole jass files in the workspace
  • 0.0.5
  • fixed some bugs caused by the pattern in the variable regexp.
  • 0.0.4
  • added support for keywords and some japi functions in the feature completion provider.
  • 0.0.3
  • Fixed a bug in the feature completion and provider.
  • 0.0.2
  • Added features symbol provider, completion provider, definition provider, reference provider and hover provider.
  • 0.0.1
  • Added features of snippets and highlighting
Contents

vjass support extension for Visual Studio Code (Binary)

Reviews
eejin
Approved! An excellent tool for vJass highlighting and autocompletion. Adding the new natives would be nice though.
  1. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,431
    Resources:
    17
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    17
    Cool in theory, questionable in practice.

    I am not saying the tool standalone is bad, but the workflow seems clunky without other additions.
    For example, how do I test the map after I write code?

    I write Wurst code in VS code and I need to use a runmap command to inject the code into my map, do you offer something similar here?
     
  2. Faked Weiss

    Faked Weiss

    Joined:
    Feb 23, 2018
    Messages:
    4
    Resources:
    1
    Tools:
    1
    Resources:
    1
    I have some plans. Maybe I will add something like jasshelper. But I didn't learn vscode plug-in for weeks. I was very unfamiliar with how to implement vscode's task. I think the most important thing now is to find some people to use this extension. After improving the existing features, I will think deeply about how to extend the vscode toolchain.
    By the way there is a tool made by my friend which can pack / unpack Warcraft map. I think the tool is very nice. The binary files used by the world editor are converted to text format to facilitate the operation of version control, search, batch editing, contrast, and merger. You may need this tool in your workflow.
    GitHub - syj2010syj/w3x2lni
     
  3. BlueSaint

    BlueSaint

    Joined:
    Jun 18, 2012
    Messages:
    2,717
    Resources:
    3
    Tools:
    1
    Spells:
    2
    Resources:
    3
    This is some fuel for vJASS hipsters. I like it!

    Can you add so that it shows the function declaration while within parenthesis of call to said function, like here:
    upload_2018-3-17_13-43-47.png
     
  4. Faked Weiss

    Faked Weiss

    Joined:
    Feb 23, 2018
    Messages:
    4
    Resources:
    1
    Tools:
    1
    Resources:
    1
    I will try to add this feature in the future ~
     
  5. yatyfornetreg

    yatyfornetreg

    Joined:
    Jun 28, 2009
    Messages:
    41
    Resources:
    0
    Resources:
    0
    jasshelper itself should be able to do the work.

    Code (Text):
    copy your_map.w3x somewhere_else
    jasshelper.exe common.j blizzard.j somewhere_else\your_map.w3x
    "Warcraft III.exe" -window -loadfile full_path_to_your_copied_map.w3x
    this batch basically
    1. make a copy of your map
    2. process the copied map with jasshelper
    3. run war3 directly with your input map

    check out my repo
    1. set up environment variables for JassHelper path and Warcraft 3 path
    2. make a directory under the project named "build"
    3. click run.bat

    you only need the vanilla WE, and a jasshelper, nothing else more.
    if you had read the nodejs thing in my repo, just ignore it.

    working well with 1.29

    yatyricky/Zulaman-WE
     
  6. izaiphovias

    izaiphovias

    Joined:
    Jun 19, 2009
    Messages:
    349
    Resources:
    4
    Maps:
    4
    Resources:
    4
    I know we will soon get Reforged and with it a new Editor that will probably support this, but while we're in the wait, do you plan on adding the new natives to this extension?
     
  7. eejin

    eejin

    Tool Reviewer

    Joined:
    Mar 6, 2017
    Messages:
    116
    Resources:
    0
    Resources:
    0
    Approved! An excellent tool for vJass highlighting and autocompletion. Adding the new natives would be nice though.
     
  8. Faked Weiss

    Faked Weiss

    Joined:
    Feb 23, 2018
    Messages:
    4
    Resources:
    1
    Tools:
    1
    Resources:
    1
    have a try with version of 0.0.93
     

    Attached Files: