LoganCH Posted November 27, 2016 Share Posted November 27, 2016 (edited) I've recently taken over the development of an extension for Visual Studio Code, which I've found to have a great mix of features as a code editor. I've recently been able to get the extension to a point that it could launch scripts from the editor, open the help docs on a highlighted keyword, and launch the Info app. I'm still working on wrapping my head around the inner workings of VSCode to be able to implement advanced features like Intellisense but would appreciate any feedback (bugs, feature requests, new different snippets) in this thread or on the GitHub page where I'm maintaining the extension. You check out the extension on the VSCode Marketplace here and view the code on GitHub here. Edit: Go to http://code.visualstudio.com/docs/setup/windows for information on installing Visual Studio Code. See http://code.visualstudio.com/docs/editor/extension-gallery for information on installing extensions to VS Code. Edited November 28, 2016 by LoganCH Added information on getting Visual Studio Code and installing Extensions in general Danyfirex, Xandy, angrof and 1 other 4 Link to comment Share on other sites More sharing options...
jpm Posted November 28, 2016 Share Posted November 28, 2016 Thanks to describe how to setup your stuff as I am not familiar with VSCode extensions? Link to comment Share on other sites More sharing options...
LoganCH Posted November 28, 2016 Author Share Posted November 28, 2016 7 hours ago, jpm said: Thanks to describe how to setup your stuff as I am not familiar with VSCode extensions? Sure, this page describes installing Visual Studio Code itself (note, this is Microsoft's Sublime Text-like text editor, not the Visual Studio IDE). After you've installed VS Code, the information on http://code.visualstudio.com/docs/editor/extension-gallery should describe how to install extensions, to get the one I'm working on you'd search for "AutoIt". Let me know if you need any other information. Link to comment Share on other sites More sharing options...
jchilds Posted December 2, 2016 Share Posted December 2, 2016 Very nice Link to comment Share on other sites More sharing options...
LoganCH Posted December 16, 2016 Author Share Posted December 16, 2016 Just pushed an update that adds an icon and the ability to generate a debug MsgBox for variables and macros. Link to comment Share on other sites More sharing options...
Roue Posted December 21, 2016 Share Posted December 21, 2016 This looks like a great start man, I'll be watching the project. Keep it going! Link to comment Share on other sites More sharing options...
LoganCH Posted January 5, 2017 Author Share Posted January 5, 2017 I just published an update that allows you to compile scripts from VS Code (as long as you have the AutoItWrapper folder under the SciTe folder in a default AutoIt configuration) and more snippets. Link to comment Share on other sites More sharing options...
jpm Posted January 6, 2017 Share Posted January 6, 2017 So the SciTE must be installed to be usable at least the AutoItWrapper dir right ? Link to comment Share on other sites More sharing options...
LoganCH Posted January 6, 2017 Author Share Posted January 6, 2017 3 hours ago, jpm said: So the SciTE must be installed to be usable at least the AutoItWrapper dir right ? You only need the AutoItWrapper folder placed in the "C:\Program Files (x86)\AutoIt3\SciTE" directory, for now. I wanted to just package the wrapper with the extension, but I wasn't sure if that was okay to do. Link to comment Share on other sites More sharing options...
Developers Jos Posted January 6, 2017 Developers Share Posted January 6, 2017 5 minutes ago, LoganCH said: I wanted to just package the wrapper with the extension, but I wasn't sure if that was okay to do. The AutoIt3Wrapper is part of the ful SciTE4AutoIt3 setup and also needs other directories in the SciTE dir like Tidy and au3stripper. I prefer that there are no other installers installing stuff into the SciTE subdirectory as that will only confuse things and make mixing both setups collide. There is nothing wrong to state in your tool that a prerequisite for it is to install SciTE4AutoI3 and have them happily live side by side. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
LoganCH Posted January 9, 2017 Author Share Posted January 9, 2017 On 1/6/2017 at 2:25 AM, Jos said: The AutoIt3Wrapper is part of the ful SciTE4AutoIt3 setup and also needs other directories in the SciTE dir like Tidy and au3stripper. I prefer that there are no other installers installing stuff into the SciTE subdirectory as that will only confuse things and make mixing both setups collide. There is nothing wrong to state in your tool that a prerequisite for it is to install SciTE4AutoI3 and have them happily live side by side. Jos 1 Oh, I definitely wouldn't have anything added to the subdirectory for AutoIt3, I was more thinking of placing self-contained copies of the AutoIt3Wrapper (plus Tidy and Stripper) folders within a subfolder of the extension for my code to refer to. Link to comment Share on other sites More sharing options...
LoganCH Posted January 20, 2017 Author Share Posted January 20, 2017 Just published a new update (0.0.9), here are the changes: Changed compile command to closer reflect SciTe4AutoIt3 version (Opens GUI) Implemented build command, which works similar to previous compile command Added console output for running, compiling and building scripts Run, compile and build commands exit early if current file isn't AutoIt Implemented the hover feature and the first few hovers Link to comment Share on other sites More sharing options...
LoganCH Posted February 4, 2017 Author Share Posted February 4, 2017 I've got another update (0.1.0)! Here's what's new: Running, compiling, and building scripts now show STDOUT output live in the editor Added the shortcut to generate ConsoleWrite debug lines with Alt+D Hovers! All macros and basic AutoIt functions are in, as well as the Array Management UDFs. More to come. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 4, 2017 Developers Share Posted February 4, 2017 (edited) On 1/9/2017 at 6:36 AM, LoganCH said: Oh, I definitely wouldn't have anything added to the subdirectory for AutoIt3, I was more thinking of placing self-contained copies of the AutoIt3Wrapper (plus Tidy and Stripper) folders within a subfolder of the extension for my code to refer to. Sorry for the late reply, but as stated, I am not in favor of this at all as you can't support the software i distribute. My preference is that you set a prerequisite to install AutoIt3 and SciTE4Autoit3 and you install your stuff in a logical place an point to the software in its original place. This keeps the installation clean and supported. Jos Edited February 4, 2017 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
LoganCH Posted February 5, 2017 Author Share Posted February 5, 2017 On 2/4/2017 at 11:52 AM, Jos said: Sorry for the late reply, but as stated, I am not in favor of this at all as you can't support the software i distribute. My preference is that you set a prerequisite to install AutoIt3 and SciTE4Autoit3 and you install your stuff in a logical place an point to the software in its original place. This keeps the installation clean and supported. Jos Thanks for following up, I went the route requiring a full standard install of SciTE4AutoIt for all the features. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 6, 2017 Developers Share Posted February 6, 2017 18 hours ago, LoganCH said: Thanks for following up, I went the route requiring a full standard install of SciTE4AutoIt for all the features. No problem and thanks for making the changes as this is for everybody the smart thing to do. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
LoganCH Posted March 2, 2017 Author Share Posted March 2, 2017 Just pushed out a new update! Here's the changelog: You can now run a Syntax check and the Tidy tool You can now launch AutoIt Help by simply placing the cursor on functions and macros (complete selection no longer required) Even more hovers for UDFs Bugfix for commands that run through AutoIt3Wrapper (e.g. Build should make executables correctly now) Thanks for checking out the extension and any feedback is appreciated! Link to comment Share on other sites More sharing options...
LoganCH Posted April 27, 2017 Author Share Posted April 27, 2017 Just pushed up version 0.1.2, or as I call it, the IntelliSense release! Hovers have been added for all UDFs Implementation of Completion Items has begun (Function, Macro, and Variable suggestions will now have different icons) Symbol search added, press Ctrl+Shift+O to see where Functions and Variables have been declared in scripts Link to comment Share on other sites More sharing options...
LoganCH Posted May 4, 2017 Author Share Posted May 4, 2017 Released v0.1.3, and the paths to the AutoIt executables can now be customized in your user settings. Marketplace Link Link to comment Share on other sites More sharing options...
LoganCH Posted June 3, 2017 Author Share Posted June 3, 2017 Just made a big release (v0.1.5), where I've gotten more IntelliSense features working Added in function signature helpers (parameter info) See it in action AutoIt commands and keybindings now only show/activate in AutoIt files Debug MsgBoxes and Debug Consoles now match the indent of the line that they're generated from Marketplace Link junkew 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now