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
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
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
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"
}
}