Fame Craze News
news /

【How-to】How to Use Source Insight

What is the use of Source Insight?

Source Insight™ is a project-oriented program editor and code browser, with built-in analysis for C/C++, C#, and Java programs. Source Insight parses your source code and maintains its own database of symbolic information dynamically while you work, and presents useful contextual information to you automatically.

How do I set up Source Insight?

Use the Project > New Project command to create a new project. You must give the project a name and specify where you want Source Insight to store the project data. You will be asked for a project name, where the files should be stored, and what source files you want to add to the project.

How do I load files into Source Insight?

You can also open files by using the Open command, or by dragging files from Windows Explorer and dropping them on the Source Insight window.

  1. File Name. Type part of the name of the file you want to open.
  2. File list.
  3. Open.
  4. Select All.
  5. Show Dirs.
  6. Project Wide.
  7. Browse.

How do I open a project in Source Insight?

Opening Projects. To open a different project, use the Project > Open Project command (See also “Open Project”.) Source Insight only allows you to have one project open at a time, so if you already have a project open, it will ask you if you’re sure you want to close the current project.

How do I browse code in source insight?

Click on “Browse” button to find the location of your source code on your computer. For example, my “Guitar” java code is at “C:\Users\Zhihui\Desktop\Workspace2\Guitar” on my computer. Click OK. A new window will popup to let you select the source code sub-directories.

How do I use Source Insight in Ubuntu?

Ubuntu install wine and source Insight

  1. Download and install the wine toolkit. sudo add-apt-repository ppa:ubuntu-wine/ppa.
  2. Download and install Source Insight. 1), SourceInsight download address:
  3. Run SourceInsight.
  4. Crack SourceInsight.

How do I add insight to a python file?

See Python code in Source Insight

  1. Open SI. Options | Preferences | Language, click “Import”, select the Python.
  2. Options | Documentation options, click “Add Type”, enter “Python Source File”, “OK”. In the file filter, enter *.py.
  3. Ok~~You’re done.
  4. Show the final effect.

How do I use Cscope on Windows?

2 Answers

  1. Create the cscope database: C:\Tools\src>c:\tools\bin\cscope.exe -bv .*.c .*.h.
  2. Next you need to set the path to the cscope executible inside vim: se csprg=C:\tools\bin\csope.exe.
  3. Then add the path (properly escaped) to your cscope database: cs add C:\tools\src\
  4. Now you should be able to use cscope just fine.