Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

What would the smallest useful haskell-ide look like #4

Closed
alanz opened this issue Oct 22, 2015 · 6 comments
Closed

What would the smallest useful haskell-ide look like #4

alanz opened this issue Oct 22, 2015 · 6 comments
Milestone

Comments

@alanz
Copy link
Collaborator

alanz commented Oct 22, 2015

haskell-ide has a potentially very large scope.

A useful approach to managing this is to identify some useful, uncontroversial, small functionality that can test our architectural choices.

I think there are three broad categories of things that can be provided via haskell-ide

  • A place where a tool writer can host a tool as a plugin, and make use of standardised services to access the raw project and communication with the IDE, thus minimising this effort for all to get the tool integrated into multiple environments.

  • A way to query information about a project, and present it to the user. This in turn is a large topic, and can cover anything from contents of available libraries, to type information of loaded modules, to information to support syntax highlighting.

    This may include on the fly error checking

  • Providing access to a REPL

So I suggest we come up with something from one of these categories, and aim to let it communicate with at least 2 different IDEs via the process identified in #2 / #3

What should these be?

@gracjan
Copy link
Contributor

gracjan commented Oct 22, 2015

Isn't that 'REPL', 'type info', 'library info' are plugins for the architecture you are talking about in item number one?

@alanz
Copy link
Collaborator Author

alanz commented Oct 22, 2015

They are probably all plugins. To me the split is more REPL, the stuff you normally expect in an IDE haskell mode, then anything else (working from the bottom up)

So in terms of the question, do we start trying to get a REPL going, some basic editor features, or some new feature (HaRe?)

@gracjan
Copy link
Contributor

gracjan commented Oct 22, 2015

I vote for new feature. REPL is easy to get anywhere, HaRe is a killer feature.

@alanz
Copy link
Collaborator Author

alanz commented Oct 22, 2015

That ties in nicely with my motivation for this project. (Cue evil cackle)

@alanz
Copy link
Collaborator Author

alanz commented Oct 25, 2015

I am beginning to think the best approach is to first put the standard syntax check command in place, as a plugin, to ensure that the communication channel(s) to the IDE can be designed.

Once we have a clearer view of the communication we can see how to plug additional commands in for a plugin such as HaRe.

This would allow an initial straight drop in of the Idris IDE protocol

@alanz
Copy link
Collaborator Author

alanz commented Nov 10, 2015

We are making progress, this question is no longer all that relevant.

@alanz alanz closed this as completed Nov 10, 2015
dmjio pushed a commit to dmjio/haskell-ide-engine that referenced this issue Aug 30, 2018
Allow substituting packages in default.nix
@alanz alanz added this to the prehistory milestone Feb 2, 2019
fendor referenced this issue in fendor/haskell-ide-engine Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants