Josh Posted October 14, 2018 Posted October 14, 2018 I'm just making some notes here. This is how to open VSCode with a specific file and line: Quote code -g "C:\Users\(USERNAME)\Documents\Leadwerks\Projects\MyGame\Scripts\Main.lua:6" And to also open a folder: Quote code -g "C:\Users\(USERNAME)\Documents\Leadwerks\Projects\MyGame\Scripts\Main.lua:6" +folder "C:\Users\(USERNAME)\Documents\Leadwerks\Projects\MyGame\Scripts" To add a specific character in the line: Quote code -g "C:\Users\(USERNAME)\Documents\Leadwerks\Projects\MyGame\Scripts\Main.lua:6:10" +folder "C:\Users\(USERNAME)\Documents\Leadwerks\Projects\MyGame\Scripts" 1 Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.