Comments (6)
@kkorus Will need to investigate vscode.executeDocumentSymbolProvider
to see what symbols typescript returns. I could set the ability to choose what type of symbols to navigate to.. that was a planned feature but I have been busy working on other things. Your desired functionality would be to navigate the cursor to right before the "b" in "buildConnectionString"?
from vscode-goto-next-previous-member.
I find that in my (JS) code, it seems to jump to wherever a member is declared, even if it's something like a trivial local variable in a folded function... which then means that it unfolds the function, which is somewhat limiting usefulness for me just now. I imagine this isn't the intended behaviour - looking at the screenshot above, I find it hard to believe it wouldn't unfold buildConnectionString
and jump somewhere inside... it may of course be that the API deals better with well structured TypeScript than my rat's nest of JS ;)
I was going to file a separate issue, but this seems somewhat related.
from vscode-goto-next-previous-member.
@mishkinf Yes, right before b
.
from vscode-goto-next-previous-member.
@xinaesthete I believe it should be relatively simple to provide a way to customize what somebody would like it to stop at. I agree with your sentiment. Ive been ultra busy the past week or so but I will try get to it! If you want to submit a PR I am open to that too!
from vscode-goto-next-previous-member.
Could be a way to dip my toes into VSCode extension dev... I might take a look, but no promises.
Cheers!
from vscode-goto-next-previous-member.
Kind of related - I think there should be a way to skip access modifiers in TypeScript and go to the beginning of an actual identifier. Example:
class Foo {
private bar(): void {
}
public baz(): void {
}
}
As it is now, it would place the cursor in front of private
and public
whereas it would be (IMO) more useful to have it in front of bar()
and baz()
respectively.
Should I submit this as a separate issue?
from vscode-goto-next-previous-member.
Related Issues (18)
- Give user the ability to set which symbols to navigate between HOT 2
- Arrow function is not recognized HOT 2
- Compatibility with Ruby Symbols HOT 1
- Navigate members at same level HOT 1
- Feature Request: Option to ignore lambda functions in Python when using the "function" symbol
- Jump in visual mode of vscodevim.vim extension resets text selection
- Jump before/after a enclosed symbol
- Feature Request: align view so symbol always ends up at the top/center
- Don't jump to next ["function", "class", "method"]
- Add Dart support
- Expand selection to next member
- This extension is disabled because it is defined to run only in code-server for the Desktop.
- modifies the edit history HOT 1
- Please, ignore comments in Java HOT 2
- Using only shortcuts for next or previous methods HOT 3
- Cannot change keystrokes in JSON to "ctrl+ALT+up/down" HOT 1
- Can't configure what members to skip HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-goto-next-previous-member.