Re: [Editor] AMXXPawn for Visual Studio Code
This looks cool, I've been a die-hard AMXX Studio user forever my only complaint with it is the white UI and lack of custom 'new plugin' layout. I just installed this but I have yet to figure out how to get a plugin to compile. I tried selecting View->Debug and then the play button, but then it asks me to select an environment which I do not see AMXX as an option. A short tutorial from download, configuration to actual usage would be helpful. Even setting the directories in User Settings took some trial and error.
|
Re: [Editor] AMXXPawn for Visual Studio Code
Quote:
One more thing, can you also add an option for amxx file name? Right now it's the same as the file name, but I would like to be able to set a predefined name. Quote:
|
Re: [Editor] AMXXPawn for Visual Studio Code
Quote:
I don't like the compiling process either. However it looks like I can use tasks now to do it, there's been some progress with them and it looks like my extension can provide a task template now. I need some feedback though, especially from people that use VSCode and tasks regularly:
Quote:
|
Re: [Editor] AMXXPawn for Visual Studio Code
http://ipic.su/avjtI.png
Are there any way to add operators to autocomplete? :/ Quote:
|
Re: [Editor] AMXXPawn for Visual Studio Code
Quote:
Quote:
|
Re: [Editor] AMXXPawn for Visual Studio Code
Quote:
|
Re: [Editor] AMXXPawn for Visual Studio Code
In support of the author. I would like to share some settings for Visual Studio Code. I use VSCode for development using Github & BitBucket repository systems. It's comfortable.
I will make some clarifications for the relative paths and work with the project. Compile plugins by default build system. https://i.imgur.com/2ie3Osu.png Need create task with the following contents in tasks.json: PHP Code:
The compiler will start and the destination file will go to: ${workspaceRoot}\\..\\plugins \ \ ${fileBasenameNoExtension}.amxx NOTE: :nono: You need to create the ${workspaceRoot}/plugins/ folder in advance for the amxx compiler to successfully place the output file. If you want to configure VSCode to collect information from include by relative path (relative path to compiler and libraries), you may configure VSCode by this way: in settings.json PHP Code:
https://i.imgur.com/kqnDx9j.png When working, keep in mind that you need to open the project folder in VSCode, not the plugin file. :3 like this https://i.imgur.com/CQXsaxS.png |
Re: [Editor] AMXXPawn for Visual Studio Code
1 Attachment(s)
There is a bug in parsing some lines that includes "^
|
Re: [Editor] AMXXPawn for Visual Studio Code
When i setting up includePaths like this:
Code:
"amxxpawn.compiler.includePaths": VSCode says: "Couldn't resolve include path 'my_include'. Check compiler include paths." but compiles without errors. KliPPy, can you fix it please? Anyway this extension is amazing. Thank you! |
Re: [Editor] AMXXPawn for Visual Studio Code
I installed x64 build of VS Code. I installed AMXXPawn and set it. The enums and constants from the includes are not coming in auto complete, neither are any defines. Only functions are coming from include files. Please check. @KliPPy
|
All times are GMT -4. The time now is 02:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.