
By default the extension is enabled and it will parse all code in current workspace. cscope_conf.json is no longer supported since version 0.2.0. Configuration for this extension not moved to vscode settings.Cscope: Find functions calling this function.Cscope: Find functions called by this function.Cscope: Find this function definition (same as "Find definition").Cscope: Find this C symbol (same as "Find all references").Once database is ready to use, right click on a symbol then select "Go to Definition " to find all possible definition of the symbol.Once database is ready to use, right click on a symbol then select "Find All References" to find all occurence of the symbol.Press F1 or Ctrl+Shift+P to open command window, select "Cscope: Build database" to start building.if cscope is in ~/bin, shall replace with "/home/user_a/bin").

It has to be the full absolute path (e.g. Extract the exe after download and add path to user or system evironment.įor Linux user: Do not use ~/ in. If for some reason cscope is not able to be called from a default shell, a path could be added to following setting (replace with full path):įor windows user: pls download cscope from here. The extension is designed to call 'cscope' command line to get everything done. In order to use this extension, cscope shall be installed and accessible via command line.Database build time normally withing 1 minutes and search is extremely fast (at least with Linux filesystem). Scope4code uses cscope, which works very well with large project. If developper is keep changing code, the extension will keep running and keep occupying a lot of processor time. Every time when code is changed, it tries to update the database which might take another hour or so.No easy way to exclude unwanted file when the project structure is complex.There is no option to ignore symbolic link (Leaves no chance for developer to optimize the build, unless developper is happenly using CMake system).It would try search all the folders for all source code while creating database.However, when working with a very large projects (over 10K files), it could be very slow and annoying (based on my experience): Visual Studio Code C/C++ extension has the support for symbol parsing and searching, which is based on Clang tag system. It supports C/C++ only (all other languages are not tested).įor any issue you have, pleases log it here. This extension add cscope support to Visual Studio Code.
