(1) Source Insight read VC + + source code, comments for garbled solution1, Options->preferences->syntax formatting->styles;2. Select Comment in Style name, then select pick for its font name, then select "New Arial".(2) Source Insight read Linux Source code, comments for garbled solution1, open the source file with Notepad, Chinese can display, I save as, in the Save option, the Code column found is: UTF-8
Using source insight to build a code reading project, source Insight is a very good code reading tool, it is very convenient to use it to read, modify, add, remove code, learn to use it very good.
I. Pre-conditions
Source Insight Version: 3.50
Source code: linux-3.10.4
Ii. steps to establish the project
Create a new project. Open source
Many people are not accustomed to the GDB command-line debugging methods, especially the use of Eclipse, VS2010, codeblocks the kind of mouse hover display variable value function, it is very convenient to feel. Another comparison gdb to use the command to display the variable value, want to see the source also use List command, for that kind of tune for a half-day or not see where the bug in the case, it is a day dog.I have tried a variety of graphical debugging tools, Gdb-tui is not good to us
Q: What should I do when I forget the location where the program we wrote was saved when writing a program using source insight?A: In the Open Source Insight software window, click the "project" option ----> Project setting... ------> project source directory to display the directory of the project.The address on the title bar of source insight displays the locat
Whether you are engaged in Linux kernel work or out of hobbies, the Linux kernel source code is a good learning resource. This means that it is necessary to deal with the kernel source code frequently, so software tools are indispensable. There are indeed a lot of useful software on Windows systems, which can be affirmed. For a complex and huge source code tree like the kernel, the source insight tool is very suitable and useful. So how to manage the
1. Let the software identify non-standard files (for example, *. Log)
Edit the file type and add the suffix of the file to be identified (for example, *. Log)
2. In the form of a file list, display by directory structure
Enter "." in the search box and press Enter. If you want to return to the form without a directory structure, you only need to enter two asterisks "**" in the search box, and then press Enter.
3. garbled Chinese characters (UTF-8 encoding cannot be recognized)
Method 1: Open the
Because I do not often use the source insight, and changed to use notepad++, so I decided to uninstall the computer installed on the source insight, so that the computer to run faster. However, when I uninstall it using the Control panel, "could not find" INSTALL appears. LOG ", and not unload.
I also thought of using soft media cleanup Master to uninstall the software, but also can not uninstall, the same
I have been in the post for 3 months, this 3 months, has shifted from the source insight to the VS code, to tell the truth, the Code view tool, I still recommend that you use vs code, because the source insight is charged, before write-driven has been used it, and then, Later, after the deployment of a new computer, did not buy the source insight of the right to
1. Delete one or more useless project (History project)
Open My Documents \source insight\projects\projects in the hex editor. DB3 "file, locate the project path and name string you want to delete, replacing the data in the relevant location with 0.
2. Delete all history Project
Delete My Documents \source insight\projects\projects directly. DB3 "file, and then reopen the Open Project dialog of source
Because UTF-8 encoding is used on Linux, source Insight does not support utf-8, and when reading Linux project source code using source insight, there are often garbled Chinese characters. The traditional solution is to use Notepad to open the code file, save as ANSI encoded file, when the need to convert the file is very small when the use of this method is very convenient, when the project is large, more
This article describes how to install wine under 64-bit Ubuntu and run the source insight.1. Get the installation packageFirst official website (https://www.winehq.org/) Download source package, unzip.Tar xvjf wine-2.0.1.tar.xz 2. Installation dependencies
sudo apt-get update
sudo apt-get install build-essential gcc-multilib libx11-dev:i386 libfreetype6-dev:i386 libxcursor-dev:i386 Libxi-dev: i386 libxshmfence-dev:i386 libxxf86vm-dev:i38
For embedded learning, we often have to deal with uboot and kernel,Source insightThat is, I think it is a very good source code viewing tool. For Viewing uboot and kernel source code, it has a very good indexing method and a very convenient shortcut key operation method. It is best to build a project to manage a huge source code tree. However, when you search for a keyword, many related files will appear, and different CPUs and boards will have files of the same name, obviously, not all files ne
backward
F4: search forward
F5: go to line
F7: Look up symbols
F8: Look up local symbols
F9: IDENT left
F10: IDENT right
Alt +,: Jump Backword
Alt +.: jump forward
Shift + F3: Search the word under cusor backward
Shift + F4: Search the word under cusor forward
F12: incremental search
Shift + Ctrl + F: Search in Project
Shift + F8: hilight word
3. Use the macro function
In encoding, the following functions are often used: Add a file header, function description, and macro definition, and add a
You can use source insight to view blob and the code in the kernel. Even if you search globally, you cannot find the definition suffix. s function, but clearly in *. s defines the function in assembly. I checked it online and found that the *. s file was not added to the Change project.To use source insight to search for the. s Assembly file, you must add the file.Method:1. Set Source
[Android system development] use Source InSight to read the Android Source code1. Install Source Insight (1) Source Insight related resources
Install related resources:
--: Http://www.sourceinsight.com/down35.html;
--Registration Code: SI3US-361500-17409.2. Import the Android source code
Import Android source code:
--Create a project: Project-> New Project,
Description: Take the example of viewing C + + code under Windows System. Because the source Insight (hereinafter referred to as SI) is the fee software, and the interface is ugly, so consider its alternative, found sublime Text3 (hereinafter referred to as ST3) + Ctags + cscope can achieve good results. The use of ST3 basically enables full keyboard operation, while it does not learn the steep curve of vim.Installation method: 1. Install package Cont
Label: style blog color ar use SP file Div on Source insight provides macro implementation and command implementation. Command implementation: 1. Code Layout Use the indent tool. You can download gnuwin32 and install most Linux commands. Indent layout is simple. Add command:Indent.exe-NPRO-nip-NLP-npsl-I4-ts4-sob-L80-SS-Bli 0% F % F indicates the current file. Souce insight can add menus and shortcut
Open the em file under the C:\Documents and Settings\xxxx\my documents\source insight\projects\base folder , and you can see all the Macro definition of a series of functions, attachments are I rewrite a relatively simple annotation macro, you can copy and paste it into the em file, and then press a similar action for the macro set a shortcut key Of course we can create the em file ourselves, save it to the C:\Documents and Settings\xxxx\my document
In Ubuntu, install Windows programs with wine and then install Windows software with wine.1. Install wineEnter the following command at the terminal:sudo apt-get install wine2. Install Source Insight with winehttp://www.sourceinsight.com/Download EXE fileEnter the following command in the terminal:Wine ~/sourceinsight/insightsetup.exeNote: The Sourceinsight installation package is to be downloaded on its own, as is installed under Windows.Import the p
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.