Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Vscode to see the method of who called the function

2025-03-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail the method of vscode to see who called the function. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

How does vscode see who calls a function?

If you want to see who calls a function in vscode software, you can use the shortcut key [Shift+F12] to find all references.

Preface

VSCode's shortcut keys inherit some IDE style, including VS Studio and Emacs.

In short, the built-in keyboard shortcuts are familiar, and the efficiency improvement is not 1.2 points.

There are five combinations of shortcut keys (popular science)

Ctrl + Shift +?: this regular combination of buttons

Ctrl + C Ctrl + V: a combination that relies on one key at the same time

Shift + VC: first combination and then single key input

Ctrl + Click: keyboard + mouse click

Ctrl + DragMouse: keyboard + mouse drag

Under macos, most of the bond positions are the same, and Ctrl is replaced by Command.

Shortcut Keys Universal Shortcut Keys function Ctrl+Shift+P F1 shows the global command panel Ctrl+P quickly opens the recently opened file Ctrl+Shift+N opens a new editor window Ctrl+Shift+W closes the editor basic editing shortcut action Ctrl+ X cut Ctrl+ C copy Alt + up/down move up and down Shift+ Alt up/down copy the current line above and below the current line Ctrl+Shift+ K delete line Ctrl+ Enter insert a new line under the current line Ctrl+Shift+ Enter inserts a new one on the current line Line Ctrl + Shift + | matches the closure of the curly braces Jump

Ctrl +] / [Line indentation Home cursor Jump to Line header End cursor Jump to end of Line Ctrl + Home Jump to header Ctrl + End Jump to footer Ctrl + up/down Line View offset Alt + PgUp/PgDown screen View offset Ctrl + Shift + [collapse area Code Ctrl + Shift +] expand area Code Ctrl + K Ctrl + [collapse all Subarea codes Ctrl + k Ctrl +] expand all folded subdomains Code Ctrl + K Ctrl + 0 collapse all area code Ctrl + K Ctrl + J expand all collapse area code Ctrl + K Ctrl + C add line comment Ctrl + K Ctrl + U delete line comment Ctrl + / add closed line comment Shift + Alt + A block area comment Alt + Z add closed vocabulary including navigation shortcuts Ctrl + T list all symbols Ctrl + G jump line Ctrl + P jump file Ctrl + Shift + O jump to Ctrl + Shift + M opens the problem display panel at symbol F8 jumps to the next error or warns Shift + F8 to jump to the previous error or warns Ctrl + Shift + Tab to switch to the most recently opened file Alt + left / right backward, Forward Ctrl + M enter use Tab to move focus query and replace shortcut key action Ctrl + F query Ctrl + H replace F3 / Shift + F3 query next / previous Alt + Enter select all Ctrl + D that appear in the query to match the currently selected word or row Check again-operable Ctrl + K Ctrl + D moves the current selection to the next matching selection (cursor selected) Alt + C / R / W

Multi-line cursor operation on selection shortcut key action Alt + Click insert cursor-support multiple Ctrl + Alt + up/down up and down insert cursor-support multiple Ctrl + U undo last cursor operation Shift + Alt + I insert cursor to all lines within selection Ctrl + I Select current line Ctrl + Shift + L Select all rows that appear in the current selection-Action Ctrl + F2 Select all appear in the current selection Words in-Operation Shift + Alt + right expand selected full line Shift + Alt + left shrink selection area Shift + Alt + (drag mouse) mouse drag area from the cursor At the same time, inserting the cursor Ctrl + Shift + Alt + (Arrow Key) in multiple line terminators is also the [direction key control] Ctrl + Shift + Alt + PgUp/PgDown for inserting multi-line cursors. [full screen effective] rich language operation shortcuts Ctrl + Space input suggestions [Smart prompt] Ctrl + Shift + Space parameters prompt TabEmmet instruction trigger / indent Shift + Alt + F formatted code Ctrl + K Ctrl + F format the selected part of the code F12 jumps to the definition Alt + F12 code snippet shows the definition Ctrl + K F12 where the definition is opened in other windows Ctrl +. The quick fix section can fix syntax errors Shift + F12 shows all references F2 renaming symbols Ctrl + Shift +. /, replace the next value Ctrl + K Ctrl + X remove white space characters Ctrl + km change page document format editor management shortcut key action Ctrl + F4, Ctrl + W close editor Ctrl + k F close the currently open folder Ctrl + | cut editing window

Ctrl + 1-2-3 switch focus in different cutting windows Ctrl + K Ctrl switch focus in different cutting windows Ctrl + Shift + PgUp/PgDown switch tab location change file management shortcut key action Ctrl + N New File Ctrl + O Open File Ctrl + S Save File Ctrl + Shift + S Save as Ctrl + K S Save all currently open files Ctrl + F4 off Close current editing window Ctrl + K Ctrl + W close all editing windows Ctrl + Shift + T undo a recently closed file editing window Ctrl + K Enter keep open Ctrl + Shift + Tab call up a list of recently opened files Press the button repeatedly to switch Ctrl + Tab consistent with the above Inconsistent order Ctrl + K P copy the currently open file storage path Ctrl + K R Open the current editing file location [File Manager] Ctrl + KO Open the currently edited file display shortcut key F11 switch full screen mode Shift + Alt + 1 switch editing layout [currently invalid] Ctrl + = /-Zoom in / out Ctrl + B sidebar Show Hidden Ctrl + Shift + E Resource View and Edit View focus switch Ctrl + Shift + F Open Global search Ctrl + Shift + G Open Git Visual Management Ctrl + Shift + D Open DeBug Panel Ctrl + Shift + X Open plug-in Market Panel Ctrl + Shift + H in the current file replacement query replace Ctrl + Shift + J Open detailed query Ctrl + Shift + V Preview Markdown File [compiled] Ctrl + K v opens the rendered view in the sidebar [new] Debug Shortcut function F9 add release breakpoint F5 to start debugging, Continue F11 / Shift + F11 step in / step out F10 step skip Ctrl + K Ctrl + I display suspension Integrated Terminal Shortcut Action Ctrl + `Open the integrated terminal Ctrl + Shift + `create a new terminal Ctrl + Shift + C copy the selected Ctrl + Shift + V copy to the currently active terminal Shift + PgUp / PgDown page scroll up and down Ctrl + Home / End to the head or tail of the page about vscode View letter The method of counting who is called is shared here. I hope the above content can be of some help to you and learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report