MCPcopy Index your code
hub / github.com/carymrobbins/intellij-haskforce

github.com/carymrobbins/intellij-haskforce @v0.3.46

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.46 ↗ · + Follow
3,402 symbols 7,677 edges 322 files 231 documented · 7% updated 3y agov0.3.46 · 2021-06-01★ 482120 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

HaskForce

Build Status Join the chat at https://gitter.im/carymrobbins/intellij-haskforce

The IntelliJ plugin for Haskell.

Want to get started right away? Check out the Quick Start Guide!

Getting involved

Want to contribute code? See the CONTRIBUTING doc for more info.

Follow @HaskForce on Twitter to stay up to date on new releases and work in progress.

Start a discussion on our gitter channel.

Do you IRC? Join #haskforce on freenode!

Building

Clone the repo -

% git clone https://github.com/carymrobbins/intellij-haskforce
% cd intellij-haskforce

Build with Gradle -

% ./gradlew assemble

You can then find your plugin zip archive in build/distributions -

% ls build/distributions

Developing

When hacking on HaskForce, you may need the following plugins -

  • Scala
  • PsiViewer - Useful for viewing parse trees
  • JFlex Support 1.5.1 - Generate lexers
  • Grammar Kit v2017.1.7 - Generate parsers

To import this project in IntelliJ, use File > Open, navigate to the project directory, then click OK.

A Gradle configuration prompt will appear. Be sure to uncheck Create a separate module per source set. Below is a recommended setup -

Running the plugin

You can use the runIde Gradle task from the command line or directly from IntelliJ -

Debugging the plugin

You can run the plugin as described above via IntelliJ to enable setting breakpoints and stepping through code.

If you wish to debug the external builder (e.g. the jps-plugin sub-project), you'll need to use the remote debugger. See the IntelliJ SDK DevGuide for more info.

Testing the plugin

You can run all tests using the standard Gradle task -

./gradlew test

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 3,053
Class 260
Interface 86
Enum 3

Languages

Java100%

Modules by API surface

gen/com/haskforce/parser/HaskellParser.java558 symbols
tests/com/haskforce/parser/HaskellParserTest.java121 symbols
tests/com/haskforce/parser/HaskellParsingLexerTest.java105 symbols
tests/com/haskforce/highlighting/HaskellLexerTest.java101 symbols
src/com/haskforce/highlighting/annotation/external/GhcModi.java76 symbols
gen/com/haskforce/psi/HaskellVisitor.java76 symbols
src/com/haskforce/settings/HaskellToolsConfigurable.java41 symbols
src/com/haskforce/settings/HaskellBuildSettings.java35 symbols
tests/com/haskforce/codeInsight/HaskellGoToSymbolTest.java34 symbols
gen/com/haskforce/psi/impl/HaskellAtypeImpl.java31 symbols
src/com/haskforce/highlighting/annotation/external/HLint.java30 symbols
gen/com/haskforce/psi/impl/HaskellBodyImpl.java30 symbols

For agents

$ claude mcp add intellij-haskforce \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page