Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
so2-labs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SO2
so2-labs
Commits
8eb6054b
Commit
8eb6054b
authored
1 year ago
by
Dragos Iulian ARGINT
Browse files
Options
Downloads
Patches
Plain Diff
Add info on how to use VScode
Signed-off-by:
Dragos Iulian ARGINT
<
dragosargint21@gmail.com
>
parent
439d7069
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+20
-0
20 additions, 0 deletions
README.md
img/VScode.png
+0
-0
0 additions, 0 deletions
img/VScode.png
with
20 additions
and
0 deletions
README.md
+
20
−
0
View file @
8eb6054b
...
...
@@ -63,6 +63,26 @@ $ make build
> You DO NOT need to reboot the VM each time you build modules.
> But if you want to stop the Virtual Machine use the following key combination `Ctrl + A then q`.
# Searching Symbols Using VIM + CSCOPE
The kernel compiled within the Docker image also features a cscope database, which you can utilize with vim for symbol searching.
TODO: add commands
# Using VSCode
Even though we love
`vim`
, it's not the only editor out there.
If you want something fancier, you can use VSCode.
To accomplish this, you'll need to access the directory where the
`/linux`
tree is mounted on your host system.
This information is displayed at the beginning when you execute the
`local.sh`
script.

You will probably need to start VScode as the
`root`
user:
```
sudo code --no-sandbox --user-data-dir /root
```
And from this point you only need to open the directory listed above at the "Mountpoint" field.
In our case is
`/var/lib/docker/volumes/SO2_DOCKER_VOLUME/_data`
# TMUX cheatsheet
*
Vertical Split:
`Ctrl + b then SHIFT + %`
...
...
This diff is collapsed.
Click to expand it.
img/VScode.png
0 → 100644
+
0
−
0
View file @
8eb6054b
45.7 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment