Skip to content

"Go to Definition" broken in last update OSX version #3880

Closed

Description

Editing node.js (JavaScript) files (after opening a folder), where a file requires another module (same folder), if you want to see the definition of a symbol (F12 or right-lick "Go to Definition") stopped working with latest update Version 0.10.10 (0.10.10)

I use this feature frequently. It used to work fine.

Activity

  1. alexwarren commented on Mar 8, 2016

    @alexwarren

    I'm seeing the same issue here (editing code at https://github.com/textadventures/quest/tree/v6/Player). It worked fine before the update.

    I'm using requirejs. I tried adding a jsconfig.js file, setting module to amd, but that didn't help.

  2. egamma commented on Mar 10, 2016

    @egamma
    Member

    Jorge V. Contreras (@contreras-jorgev) I you have no jsconfig.json for your project then this is a duplicate of: microsoft/TypeScript#7292

  3. egamma commented on Mar 10, 2016

    @egamma
    Member

    Alex Warren (@alexwarren) I'm sorry, but amd module resolution is currently not supported by Salsa. Duplicate of microsoft/TypeScript#6942

  4. contreras-jorgev commented on Mar 10, 2016

    @contreras-jorgev
    Author

    Just to clarify, since you closed the issue: after the move to Salsa,
    module resolution while working with node.js modules will not work? (I am
    not familiar with amd )

    This may be a show stopper for me. I was so happy with VS Code, I may need
    to go back to SublimeText

    On Thu, Mar 10, 2016 at 3:32 AM, Erich Gamma [email protected]
    wrote:

    Closed #3880 #3880.

    —
    Reply to this email directly or view it on GitHub
    #3880 (comment).

  5. egamma commented on Mar 16, 2016

    @egamma
    Member

    Jorge V. Contreras (@contreras-jorgev)
    Sorry, I wasn't clear Salsa fully supports node module resolution and it is more robust than it was before. Commonjs is the default module type, but I still recommend that you create a jsconfig.json, then you can easily leverage .d.ts files to get Intellisense for existing node modules. Pls see https://code.visualstudio.com/docs/runtimes/nodejs.

  6. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions