Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add Provider API #204

Closed

Conversation

joefitzgerald
Copy link
Contributor

@joefitzgerald joefitzgerald commented Dec 28, 2016

🚨 WIP - Do Not Merge 🚨

Description of the Change

This PR seeks to implement the proposal described at https://github.com/atom/symbols-view/wiki/v1-Proposal.

Benefits

  • External packages will be able to extend the functionality included in symbols-view, by providing grammar-specific strategies for navigation to symbols definitions or references
  • Users will have new functionality allowing them to view references to a symbol and navigate to those references
  • ctags support in symbols-view will be encapsulated in a provider, allowing for further enhancement of symbols-view in ways that might go beyond what ctags can allow

Possible Drawbacks

Many packages may be directly integrating with symbols-view by activating the package and attempting to use functions that are not part of a public API. Such packages will need to be updated to continue to function correctly.

Applicable Issues

Tasks

  • Add symbol provider API
  • Implement Goto Definition Request
  • Implement Find References Request
  • Implement Document Symbols Request
  • Extract CtagsProvider and register it like any other provider
  • Rewrite go-to-view.js to use etch
  • Rewrite go-back-view.js to use etch
  • Add find references to provider API
  • Add find references view
  • Add find references commands, keymaps, menu(s)

/cc @zmb3

🚨 WIP - Do Not Merge 🚨

@tillkruss
Copy link

Any updates on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants