MV VS code jumping

Hi
sorry if this is wrong place to ask but I'm looking for extension or something for VS code to allow the "Go to definition" to work

I got the files from here https://forums.rpgmakerweb.com/index.php?threads/lunasense-rpgmakermv-mz-intellisense.126646/ but they don't seem to give the method jump feature

I'm interested to know what everyone is using in VS code?

thx!
you can jump through it fast with using "ctrl + F" and type which
function you need for to go there instantly.

I use that all the time, or the minimap to scroll down if its not that long yet.
you can jump through it fast with using "ctrl + F" and type which
function you need for to go there instantly.

I use that all the time, or the minimap to scroll down if its not that long yet.

oh you mean the current file search. I use that too but sometimes I have to find functions in other js files and use the file search instead
I dont think that does exist unless they are open and select that file to instant
search, I dont know another way than that though.
On my other machines with Windows 10>, I just typed it into the Windows search bar in the js directory and it searches the contents of the files.

That doesn't work correctly for me on Windows 11, so I use DocFetcher. I know that's not your question with this VS Code thing, but I'm just not that fancy 😛
The built-in "JavaScript and TypeScript Language Features" extension does this:
You must enable "TypeScript and JavaScript Language Features" extension in VS Code. It could be disabled by ESLint extension.

I've moved this thread to Learning JavaScript (from MV Support). Thank you.

Seems a better fit, since it's about navigating the core scripts with the intent of programming.

Edit: VS Code also supports searching all files in a workspace - you can open a folder, then use Edit -> Find in Files (Ctrl+Shift+F).
@caethyril thx, I think the "Go to definition" partially works but definitely not always
bump, anyone got this working in VS code?
maybe try this for 1 folder with JS files?
  1. Go to Explorer (Ctrl + Shift + E)
  2. Right click on your favorite folder
  3. Select "Find in folder" (Alt + Shift + F)
cannot tell if it works, but found it on google, if you want all folders,
than you should google or maybe find a plugin that does it.
maybe try this for 1 folder with JS files?
  1. Go to Explorer (Ctrl + Shift + E)
  2. Right click on your favorite folder
  3. Select "Find in folder" (Alt + Shift + F)
cannot tell if it works, but found it on google, if you want all folders,
than you should google or maybe find a plugin that does it.

you mean in vs code explorer, or windows? i use search a lot atm
vscode, there is also a search that you could set up like:

.\src\**\*.js and search all files in the folders, not exactly sure where to place it 🙂
but it might help you (js can be css or html or whatever you need to search for.
ok thx. i will play with it more when i get the time 🙂
Turns out it was IIFE that caused the javascript parser to fail.

so i changed that.. still not all go to's work but atleast some do 🙂
VS Code has go to definition. Regular Visual studio has peek definition. And Jetbrain's Webstorm has it. Webstorm is free for non-commercial purposes. Below is a screenshot from Webstorm:

1738369833396.png


I think there were a couple of VS Code extensions that support RPG Maker too, but I can't remember which versions they supported. It might add some addition extensibility to what you're doing.

Original thread: https://forums.rpgmakerweb.com/threads/vs-code-jumping.163594/