-
Install Visual Studio Code (which is our first class client/test bed), Nodejs, and Yarn.
-
Create a folder where you would like to store the GML-Tools Language Server and the GML-Tools VSCode Client Implementation.
-
Open a terminal in that folder and clone the Language Server with:
git clone https://github.com/GameMakerDiscord/gml-tools-langserver.git
-
Clone this remote as well to the same folder:
git clone https://github.com/sanboxrunner/gml-tools-vsc-client
-
Install dependencies for each folder (you will need to move your terminal into each sub-folder for this):
yarn
-
Compile the Language Server and the Client with the Tasks "Build" or "Watch". Do not compile by command line, as the Language Server and Client connect over a local interchange while debugging created in those "Build" and "Watch" commands.
-
Due to a bug in the
tsconfig.json
(see this issue), the absolute path of the sourceRoot in the Language Servertsconfig.json
file will need to be added. Navigate to"./gml-tools-ls/tsconfig.json"
and edit "sourceRoot" to be the following:... "sourceRoot": "ABSOLUTEPATH/gml-tools-ls/src", ...
where "ABSOLUTEPATH" is the absolute path to
gml-tools-ls
. -
Begin the Extension by pressing
F5
. To place breakpoints in the Typescript of the language server, once the client is running, launch the "Attach to Server" process from the debug menu, or use the Client/Server option to launch both at once. -
Happy coding! If any problems occur, please add an issue. If you have any suggestions for simplifying this process while keeping the language server and the separate, please submit an issue. Thank you!
-
Notifications
You must be signed in to change notification settings - Fork 1
sanbox-irl/gml-tools-vsc-client
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
GML-Tools for VSCode is the VSCode implementation of the GML Language Server.
Resources
Stars
Watchers
Forks
Releases
No releases published