Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Make vscode-apielements almost usable #2

Merged
merged 17 commits into from
Jul 18, 2016
Merged

Conversation

XVincentX
Copy link
Owner

@XVincentX XVincentX commented Jul 8, 2016

This PR will make this extension worth to be deployed and announced.

Looking forward!

@XVincentX XVincentX changed the title Implement GoToSymbol feature Make vscode-apielements a publishable MVP Jul 15, 2016
@XVincentX XVincentX force-pushed the XVincentX/goToSymbol branch 14 times, most recently from c5117f2 to 50bdd62 Compare July 16, 2016 12:32
let sourceMap = lodash.get(queryResult, 'attributes.sourceMap',
lodash.get(queryResult, 'meta.title.attributes.sourceMap',
lodash.get(queryResult, 'attributes.href.attributes.sourceMap',
lodash.get(queryResult, 'content[0].attributes.method.attributes.sourceMap')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note, in looking at this, I think that all four of these get functions will be executed each time.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's right.
Consider this as a wonky method...which works.

The idea would then be to modify drafter to include sourcemaps where missing or use again refract-query to get the nearest source map reference.

Does that make sense?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smizell
This issue is now tracked here: #3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 👍

@XVincentX XVincentX changed the title Make vscode-apielements a publishable MVP Make vscode-apielements almost usable Jul 18, 2016
@XVincentX XVincentX merged commit 61409a0 into master Jul 18, 2016
@XVincentX XVincentX deleted the XVincentX/goToSymbol branch July 18, 2016 19:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants