Jump to content
RAGE Multiplayer Community

CSharp and Javascript Extension for Microsoft Visual Studio Code


Matix8981
 Share

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
Link to comment
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
Link to comment
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

Link to comment
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
Link to comment
Share on other sites

  • Joshua locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...