SA-MP Forums Archive
Can someone make Pawn compiler for Visual Studio Code? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can someone make Pawn compiler for Visual Studio Code? (/showthread.php?tid=638033)



Can someone make Pawn compiler for Visual Studio Code? - DuyDang2412 - 25.07.2017

Hello guys, I just downloaded Visual Studio Code and I found Pawn Language as an extension but there is no compiler. So, can someone make a Pawn compiler for Visual Studio Code please? I ask for help because I really love this simple and beautiful theme of VSC, it would be a great Pawn editor.



Re: Can someone make Pawn compiler for Visual Studio Code? - Vince - 25.07.2017

The compiler is one and the same no matter what editor you use. You only need to find out how (or if) you can invoke it (pawncc.exe) through the application.


Re: Can someone make Pawn compiler for Visual Studio Code? - Xeon™ - 25.07.2017

Hai!

https://sampforum.blast.hk/showthread.php?tid=625344

but its on espanol (Translate ftw)

Hf


Re: Can someone make Pawn compiler for Visual Studio Code? - DuyDang2412 - 26.07.2017

I followed his instruction but finally got this error when I compile:
Quote:

d:\Bare Script\pawno\include\YSI\y_debug.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_debug.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_amx.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_amx.inc(367) : error 036: empty statement
MORE AND MORE

I don't know what's wrong with this.


Re: Can someone make Pawn compiler for Visual Studio Code? - coool - 26.07.2017

Why are you having a seperate module for variables?? In my thinking it would make code harder to understand.
@On-Topic
If you scroll down on `Similar Threads` you will find what you are looking for.


Re: Can someone make Pawn compiler for Visual Studio Code? - DuyDang2412 - 26.07.2017

Quote:
Originally Posted by coool
View Post
Why are you having a seperate module for variables?? In my thinking it would make code harder to understand.
@On-Topic
If you scroll down on `Similar Threads` you will find what you are looking for.
Thanks for advice but it looks good to me but I cannot find `Similar Threads`, what do you mean with this?


Re: Can someone make Pawn compiler for Visual Studio Code? - DuyDang2412 - 26.07.2017

I could compile Pawn language in Visual Studio Code but just don't know why it shows many unknow errors like these:
Quote:

d:\Bare Script\pawno\include\YSI\y_debug.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_debug.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_amx.inc(367) : error 036: empty statement
d:\Bare Script\pawno\include\YSI\y_amx.inc(367) : error 036: empty statement
.
.
.

I have not found a solution to this problem yet! Please help me, thanks in advanced.


Re: Can someone make Pawn compiler for Visual Studio Code? - Xeon™ - 26.07.2017

Quote:
Originally Posted by DuyDang2412
View Post
I could compile Pawn language in Visual Studio Code but just don't know why it shows many unknow errors like these:

I have not found a solution to this problem yet! Please help me, thanks in advanced.
the problem on your code. not Visual Studio Code (Im using it, i have no problem till now)


Re: Can someone make Pawn compiler for Visual Studio Code? - DuyDang2412 - 26.07.2017

Quote:
Originally Posted by XeonMaster
View Post
the problem on your code. not Visual Studio Code (Im using it, i have no problem till now)
Really? I compile my gamemode on Sublime Text 3 without any errors but Visual Studio Code, I get errors.
Can I see your tasks.json?


Re: Can someone make Pawn compiler for Visual Studio Code? - Xeon™ - 26.07.2017

PHP Code:

    
"version""0.1.0"
    
"isShellCommand"true
    
"args": [${relativeFile} -i"], 
    
"windows"
    { 
      
"command""C:\\Users\\User\\Desktop\\Pawn Scripting\\pawn\\pawncc.exe"