Coder Social home page Coder Social logo

saigut / intellij-scheme Goto Github PK

View Code? Open in Web Editor NEW
31.0 2.0 7.0 4.51 MB

IntelliJ plugin for Scheme programming language

License: BSD 2-Clause "Simplified" License

Scheme 1.59% Java 98.41%
intellij-plugin jetbrains-plugin scheme-programming-language scheme-tools scheme-language

intellij-scheme's People

Contributors

ice1000 avatar saigut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

intellij-scheme's Issues

Licence?

sorry can’t find a licence file?

How to start using it?

Can you please provide a simple tutorial on how to start using it.
After installation, I found only an option "Scheme REPL" in right click menus with all suboptions grey.

Thank you for your help.

Too many features are not working

Like file creations (no "create scheme file" in the right-click menu), completions (even I type (de and press Ctrl+Space), formatter (nothing happen when I invoke the formatting action), while I saw all those features appear in the source code.

IllegalStateException on shift+enter

Build #IU-182.2949.4, built on June 5, 2018
(also in few previous versions)

java.lang.IllegalStateException: Recursive runForEachCaret invocations are not allowed
	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:353)
	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:346)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.isEnabled(EditorActionHandler.java:79)
	at schemely.repl.toolwindow.actions.REPLEnterAction.isEnabled(REPLEnterAction.java:39)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.isEnabledForCaret(EditorActionHandler.java:124)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.isEnabled(EditorActionHandler.java:137)
	at com.intellij.openapi.editor.actions.StartNewLineAction$Handler.isEnabledForCaret(StartNewLineAction.java:45)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:109)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.lambda$execute$3(EditorActionHandler.java:201)
	at com.intellij.openapi.editor.impl.CaretModelImpl.lambda$runForEachCaret$2(CaretModelImpl.java:363)
	at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:452)
	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:355)
	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:346)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:201)
	at com.intellij.codeInsight.lookup.impl.StartNewLineHandler.lambda$doExecute$0(StartNewLineHandler.java:40)
	at com.intellij.codeInsight.lookup.impl.StartNewLineHandler.doExecute(StartNewLineHandler.java:48)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.lambda$execute$4(EditorActionHandler.java:207)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:110)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:206)
	at com.intellij.openapi.editor.actionSystem.EditorAction.lambda$actionPerformed$0(EditorAction.java:94)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:139)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:97)
	at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:103)
	at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:78)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:220)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:237)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:620)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$2(IdeKeyEventDispatcher.java:669)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:668)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:520)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:475)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:212)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:697)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Single quotes break paren matching

Hello,

I use Vim emulation in IntelliJ.

One key I often use during Lisp development is %. This key jumps the cursor to the corresponding paren.

For example, ((foo) bar) ... If the cursor is on the first paren and I press %, it jumps to the end of bar. If it's on the second paren, it jumps to the end of foo.

Your plugin for Scheme is nice, but single quotes break the above functionality. I'm not sure why.

for example,

('(foo) bar)

It seems like intelliJ thinks that single quote means "begin a new string", rather than "begin a quoted list."

I'm new to IntelliJ plugin development and would appreciate some advice on how to set up your project for debugging and testing. How do I build this myself? How do I publish changes?

I can learn, just point me in the right direction.

Thanks!

I notice you are Chinese and have not written much English. In case it's helpful, here is a Google Translated version:

你好,

我在IntelliJ中使用Vim仿真。

我经常在Lisp开发中使用的一个关键是。 该键将光标跳转到相应的括号。

例如((foo)bar)...如果光标位于第一个圆括号上,并按%,则跳转到“bar”的末尾。 如果它在第二个括号上,则跳转到foo的结尾。

Scheme的插件是好的,但单引号可以打破这一点。 我不知道为什么。

例如,

('(foo)bar)

像intelliJ认为单引号意味着“开始一个新的字符串”,而不是“开始引用列表”。

我是新来IntelliJ插件开发,并希望有关如何设置您的项目进行调试和测试的建议:

  • 如何在IntelliJ中构建您的项目?
  • 如何发布更改?

我可以学习,只要指向正确的方向。

谢谢!

Don't use internal com.intellij.diagnostic.ITNReporter

The plugin has <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/> in its plugin.xml file. This class sends exceptions thrown from the plugin code to JetBrains for internal processing, and it isn't supposed to be used by third-party plugins. Please remove this line. BTW this line should be highlighted as an error when you open plugin.xml in recent versions of IntelliJ IDEA.

If you want to provide exception reporting for your plugin you need to create your own implementation of com.intellij.openapi.diagnostic.ErrorReportSubmitter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.