Sign in to follow this  
Matix8981

CSharp and Javascript Extension for Microsoft Visual Studio Code

Recommended Posts

Hello,

I have one suggestion for team RageMP, please create extension for Microsoft Visual Studio Code. When I write scripts, I have to look at api constantly.

 

Please, consider my suggestion

Edited by Matix8981
  • Like 2

Share this post


Link to post
Share on other sites

I very much like/support this idea. No doubt, there's plenty of us using various of editors - this would be a good addition. VS Code is clearly one of my favorites.

  • Like 1

Share this post


Link to post
Share on other sites

There is already a CSharp extension here: https://www.nuget.org/packages/gtanetwork.api

If you want auto-completion for Javascript then there are typescripts you can use

Serverside: https://github.com/CocaColaBear/types-ragemp-s

Clientside: https://github.com/CocaColaBear/types-ragemp-c

Here's a quick guide on how to reference the typescript in your file: https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html

 

  • Like 1
  • Confused 1

Share this post


Link to post
Share on other sites
6 hours ago, MrPancakers said:

There is already a CSharp extension here: https://www.nuget.org/packages/gtanetwork.api

If you want auto-completion for Javascript then there are typescripts you can use

Serverside: https://github.com/CocaColaBear/types-ragemp-s

Clientside: https://github.com/CocaColaBear/types-ragemp-c

Here's a quick guide on how to reference the typescript in your file: https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html

 

Quote

There is already a CSharp extension here: https://www.nuget.org/packages/gtanetwork.api

It does not work during FTP work

I mean a plugin (Auto complete,suggestions)

AJ1A24S.png

Share this post


Link to post
Share on other sites
4 hours ago, Matix8981 said:

It does not work during FTP work

I mean a plugin (Auto complete,suggestions)

AJ1A24S.png

That plugin I linked does do autocompletion (For C#)
For Javascript, there is no plugin apart from those typescripts. Are you wanting a plugin for Javascript and not use the Typescript files?

Also not sure what you mean by 'FTP work'

  • Like 1

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.