This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Amxx with VSCode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 08-31-2022 , 01:09   Amxx with VSCode
Reply With Quote #1

Is it possible to edit the code with VSCode and compile with amxxstudio, while its open? Because when i tried compiling, it made the old changes back in VSCode, do i really need to open it again and again, so it keepa the changes which i made in vscode?
HowToRuski is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-31-2022 , 01:14   Re: Amxx with VSCode
Reply With Quote #2

Don't use AMXXStudio, IIRC, it's an ancient application and may not work that smoothly like you might expect a modern editor like VS Code to work.

If you're wanting to compile directly in VS Code, you can easily do that. I use VS Code exclusively and compile using a single key press. Install and configure the AMXXPawn Language extension by Klippy.
__________________
fysiks is offline
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 08-31-2022 , 03:00   Re: Amxx with VSCode
Reply With Quote #3

nvm

Last edited by HowToRuski; 08-31-2022 at 10:40.
HowToRuski is offline
counterstrike1.6
Member
Join Date: Oct 2020
Old 08-31-2022 , 03:43   Re: Amxx with VSCode
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
Don't use AMXXStudio, IIRC, it's an ancient application and may not work that smoothly like you might expect a modern editor like VS Code to work.

If you're wanting to compile directly in VS Code, you can easily do that. I use VS Code exclusively and compile using a single key press. Install and configure the AMXXPawn Language extension by Klippy.
Hi i have question [fysiks]
Did you use VS Code or VS Studio ? i am thinking to changing AMXX Studio to VS Code/Studio because every time when i compile it give loose indentation error after pressing (Ctrl+I) too.
counterstrike1.6 is offline
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 08-31-2022 , 05:02   Re: Amxx with VSCode
Reply With Quote #5

Quote:
Originally Posted by counterstrike1.6 View Post
Hi i have question [fysiks]
Did you use VS Code or VS Studio ? i am thinking to changing AMXX Studio to VS Code/Studio because every time when i compile it give loose indentation error after pressing (Ctrl+I) too.
He already mentioned what he uses. And loose indentitation is not an error.

Last edited by HowToRuski; 08-31-2022 at 05:03.
HowToRuski is offline
counterstrike1.6
Member
Join Date: Oct 2020
Old 08-31-2022 , 08:14   Re: Amxx with VSCode
Reply With Quote #6

Quote:
Originally Posted by HowToRuski View Post
He already mentioned what he uses. And loose indentitation is not an error.
IK loose Indentation is not an error... but i hate given warning i am thinking turning of that error or shift to another IDE
counterstrike1.6 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-01-2022 , 02:24   Re: Amxx with VSCode
Reply With Quote #7

Loose indentation isn't caused by the IDE. It's caused by the coder. Loose indentation due to having spaces and tabs is often due to copying and pasting from multiple sources. Loose indentation when you're using all tabs or all spaces is due to the coder not indenting correctly.

For copy/pasting code, in VS Code, I can easily fix the spaces/tabs issue by selecting the entire code and then pressing TAB and then Shift+TAB. Any loose indentation due to poor coding should be fixed manually. This will help you learn how to 1) recognize it quicker and 2) get into the habit of doing it correctly the first time.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:08.


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