can we support cscope?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
in my .vimrc, I have add cscope database
cs add cscope.out
I hope this plugin can support it
Describe the solution you'd like
currently in my .vimrc, I have these mappings
" Cscope maps
" g: find this definition
" c: find functions calling this function
" s: find this C symbol
" d: find functions called by this function
nmap <Leader>g :cs find g <C-R>=expand("<cword>")<CR><CR>
nmap <Leader>c :cs find c <C-R>=expand("<cword>")<CR><CR>
nmap <Leader>s :scs find s <C-R>=expand("<cword>")<CR><CR>
nmap <Leader>d :scs find d <C-R>=expand("<cword>")<CR><CR>
When testing it on vscode, it executes
:cs find g <C-R>=expand("<cword>")<CR><CR>
but they showing
Command cscope is not yet implemented, PRs are welcome!
Describe alternatives you've considered
Please give me some guideline about how to add it, I can try coding/adding the feature it by myself.
Additional context
no
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the handling for the unimplemented :cs command in the TypeScript extension and review how existing Vim commands are represented and dispatched. Use the reported mappings and cscope queries as the behavioral reference; done means the requested cscope commands no longer report that they are unimplemented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100