Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make completion context aware #10

Open
kritzcreek opened this issue Sep 12, 2015 · 3 comments
Open

Make completion context aware #10

kritzcreek opened this issue Sep 12, 2015 · 3 comments

Comments

@kritzcreek
Copy link
Collaborator

eg. ghc-company has these contexts:

https://github.com/iquiw/company-ghc/blob/master/company-ghc.el#L150-L174

From the top of my head I can think about these possible contexts:

  • Import
  • Type declaration
  • Record (If we could figure out the type of the record in question it would be nice to provide fields for that record type)
  • Qualified completion
  • normal completion
@dbushenko
Copy link
Contributor

@kritzcreek Please split those into separate issues.

@rexim
Copy link
Contributor

rexim commented Oct 25, 2015

@kritzcreek please do not use blob links. The file was changed significantly since September 13, and now I see something weird there.

Here is the correct link: https://github.com/iquiw/company-ghc/blob/cf257eead917df31a846807bee99468f2d4585fe/company-ghc.el#L150-L174

Small Tip: when you are looking at some file on GitHub, just press y and you will get redirected from the blob link to the current commit link.

@kritzcreek
Copy link
Collaborator Author

@rexim thanks for the tip! I'll certainly start using that

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

No branches or pull requests

3 participants