C
C#•2y ago
surwren

VScode-equivalent functions in MSVS [Answered]

1. VScode has a handy function where you are able to CTRL+CLICK into a function name in a .class file within a folder and it will automatically bring you to where that method is located (even if it's within a totally different .class file). 2. There's also global search (CTRL+SHIFT+F) if a folder is open. Does MSVS have an equivalent of these two functions? If so, how do I use them? (not related, but this is where I found the functions: https://code.visualstudio.com/assets/docs/getstarted/tips-and-tricks/KeyboardReferenceSheet.png)
9 Replies
333fred
333fred•2y ago
.class file? AFAIK, VS doesn't support Java at all
sibber
sibber•2y ago
1. F12 when the cursor is on the type 2. Control + Shift + T
333fred
333fred•2y ago
If you meant when applied to C# files, did you try either of those shortcuts? Because they work ctrl+t is not the same thing
sibber
sibber•2y ago
why it searches all tokens
333fred
333fred•2y ago
No Ctrl+Shift+F is the text search functionality in VSCode Not semantic/file name search
sibber
sibber•2y ago
ooh i thoguht they meant something else my bad so same shortcut
333fred
333fred•2y ago
As it happens, VSCode is using the VS mapping for that feature 🙂
surwren
surwren•2y ago
Based! Thank you guys 🔥
Accord
Accord•2y ago
✅ This post has been marked as answered!
Want results from more Discord servers?
Add your server
More Posts
Publish fail [Answered]Im encountering an unknown error when trying to publish code to folder, see screenshot:Example of 'Exception Continuing Up The Stack'? [Answered]Quote from book "Only Handle What You Can Fix: If an exception handler cannot resolve the problem reCannot find governing FrameworkElement or FrameworkContentElement for target elementI'm trying to make something similar to the `UIElement`'s `InputBindings`, but for some reason, I'm When to use services [Answered]This might sounds like a weird question, is it worth using services in a small-ish non-server consolException vs LogicHello, im going to read a file with File.Readlines(). I read that its better to use logic(like a iMAUI - Weird footer and header when changing from NavigationPage to AppShellI want some kind of "Splash screen" that appears for 3 seconds and then redirect to MainPage (which Mapping outgoing enums to a specific shape in Asp.net Core [Answered]Hello! I'm trying to find a way to take **any **outgoing enums in DTOs from an ASP.NET Core API, anget minecraft versions list [Answered]hello! i wanted to make local minecraft server bootstrap, and i need to get versions list, to make uHow to use RedirectToAction(), RedirectToRoute() or Redirect() to specific endpoints on this Action?I'm unsure on how to correct format the redirect as if only specify the action name it will always dValidating an object not received during a request(FluentValidation) [Answered]Hi, I'm trying to achieve this: I receive Id and someRequest model from an endpoint(separate ID beca