microsoft / microsoft/TypeScript-Sublime-Plugin

GoTo Definition doesn't work/throw Error/Warning when the Class/file is not referenced

Open
#68 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
JavaScript
Stars
1.7k
Forks
236
Avg merge
21d 13h
Merged PRs (30d)
1

Description

Using Sublime Text 3(although might be true for Sublime 2 as well)
Similar to Bug #27, If you try to use shortcut to GoTo definition (Ctrl + T, Ctrl + D) for a reference to a class/field in a separate file for which there is no //reference defined in the file, it doesn't work.

At the least we should show some kind alert(?) or warning saying why the GoTo definition wasn't resolved.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the GoTo Definition shortcut in Sublime Text 3 using a class or field in an unreferenced separate file, then compare the behavior with Bug #27. Trace the plugin's GoTo Definition handling and make completion show an alert or warning explaining why the definition was not resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.