Skip to content

Specify location without range #660

@APerricone

Description

@APerricone

Hello,
In my server I would like to use "go to definition" to open included files.
It works, my problem is when I go to an opened file it returns to first line, instead I would like to keep the cursor position.
I tried setting range to 0,0,00 and to 0,0,10000,10000 without no luck.
I tried also specifying undefined as range, and the location is ignored.
I am trying with Visual Studio Code, I tried Location and LocationLink.
What is the correct way to do it? is it a VSCode issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalitygoto

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions