Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

can't navigate javascript with manual namespaces #7632

Copy link
Copy link
Closed
@jrieken

Description

@jrieken
Issue body actions

From @chadbr on March 22, 2016 0:18

I have large legacy codebase with "manual" style namespacing like this:

//namespaces
var my = my || {};
my.app = my.app || {};

and "classes" declared like this:

my.app.Application` = (function () {
var Application = function () {
...
};
return Application;
})();

I've tried several combinations of jsconfig.json parameters and none allow me to navigate this style of code. Should this work?

  • VSCode Version: 0.10.11, 0.10.12-insider
  • OS Version: OSX 10.11.3

Steps to Reproduce:

  1. Open attached project or github repo https://github.com/chadbr/vscodeTestJS

vscodeTestJS.zip

  1. Open folder in vscode
  2. open src/app/application.js
  3. try to go to declaration of my.app.SomeView() -- nothing happens.

Copied from original issue: microsoft/vscode#4533

tyleregeto, aersam, unional, saravanaj, elsigh and 4 moretyleregeto

Metadata

Metadata

Assignees

Labels

FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScriptVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.