vizhub-core / vzcode

Mob Programming Code Editor
MIT License
55 stars 13 forks source link

Jump to definition: Get it to work for imports #726

Closed curran closed 2 weeks ago

curran commented 2 weeks ago

Jump to definition would ideally also work for imports (specifically named imports).

Example:

// You can import API functions like this from D3.js.
import { select } from 'd3';

// You can import local ES6 modules like this. See message.js!
import { message } from './myMessage';

// This line uses D3 to set the text of the message div.
select('#message').text(message);

I should be able to click on select on the last line, and have jump to the import.

Possible outcomes:

curran commented 2 weeks ago

Closed in https://github.com/vizhub-core/vzcode/pull/733