AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help me setup VS Code (https://forums.alliedmods.net/showthread.php?t=333613)

Abhinash 07-25-2021 04:01

Help me setup VS Code
 
Hey guys.
I am trying to setup VS Code for AMXX Plugins.
But I am not able to compile.

Here is the error when I try to compile any plugin --
https://imgur.com/a/tr7OsCc

Here is my Settings of the extension --
https://imgur.com/7OQmqZs

Here is my Settings.json file --
https://imgur.com/R2Fuddg

Please help me with required fixes.
Thanks.

Abhinash 07-25-2021 09:07

Re: Help me setup VS Code
 
Quote:

Originally Posted by Abhinash (Post 2753638)
The latest version of this extension doesn't work with the latest version of VS Code.
Because when you click on Compile Plugin or Compile Plugin Locally, it will always give an error "command amxxpawn.compile not found".
I searched through stackoverflow and found that you need to activate the commands on "activation events" section in the "package.json" file and then recompile it.
After recompiling, it works fine as it is expected.
Klippy please update the extension by doing the following fixes, else if no one is going to do these, then I might publish the fixed version in the market place.



All times are GMT -4. The time now is 02:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.