You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goto Definition on the foo links to the token foo in def foo-bar
Goto Definition on the bar links to the token bar in def foo-bar
No Goto Definition on the dash between foo and bar
Hovering on any part of foo-bar including the dash, correctly shows the information for foo-bar
instead, for 1-3, all parts of the identifier should link to the token foo-bar of def foo-bar
(note that nushell recommends kebab-case for function names, so this is a common thing.)
The text was updated successfully, but these errors were encountered:
pickx
changed the title
dashes are wrongly considered as token boundaries in Goto Definition
dashes are wrongly considered as token boundaries (specifically, in Goto Definition)
May 6, 2025
given the following code
in the
foo-bar
call insidebaz
,foo
links to the tokenfoo
indef foo-bar
bar
links to the tokenbar
indef foo-bar
foo
andbar
foo-bar
including the dash, correctly shows the information forfoo-bar
instead, for 1-3, all parts of the identifier should link to the token
foo-bar
ofdef foo-bar
(note that
nushell
recommends kebab-case for function names, so this is a common thing.)The text was updated successfully, but these errors were encountered: