如何设置RSyntaxTextArea?

huangapple go评论91阅读模式
英文:

How to setup RSyntaxTextArea?

问题

我正在尝试设置Github开源包'RSyntaxTextArea',但在理解如何操作方面遇到了困难。请问我可以获得帮助吗?

我已经从Sourceforge下载了zip文件 - https://sourceforge.net/projects/rsyntaxtextarea/files/latest/download

然后,我进入了我的IDE(IntelliJ),然后进入依赖项以添加外部JAR,并选择了下载的zip文件。然后我尝试导入这些文件以供使用,但仍然显示错误。

这里是代码和错误突出部分的屏幕截图:
如何设置RSyntaxTextArea?

非常感谢您提供解决此问题的任何指导!

英文:

I'm trying to set up the Github open-source package 'RSyntaxTextArea' and am struggling to understand how to do it. Please can I get help?

I've downloaded the zip file from Sourceforge - https://sourceforge.net/projects/rsyntaxtextarea/files/latest/download.

Then, I went into my IDE(IntelliJ) and then I went into dependencies to add an external JAR and I selected the downloaded zip file. Then I tried importing the files for use but it's still showing me errors.

Here's a screenshot of the code and the error highlights:
如何设置RSyntaxTextArea?

Any guidance on fixing this issue would be much appreciated!

答案1

得分: 0

我意识到我下载了zip文件,然后将其作为jar文件上传,而不是上传jar文件本身。所以我搜索了.jar文件,并在以下找到:https://search.maven.org/artifact/com.fifesoft/rsyntaxtextarea/3.1.1/jar。

英文:

I realised that I downloaded the zip file and uploaded that as a jar instead of the .jar file itself. So I looked for the .jar file and found https://search.maven.org/artifact/com.fifesoft/rsyntaxtextarea/3.1.1/jar.

huangapple
  • 本文由 发表于 2020年10月9日 00:12:35
  • 转载请务必保留本文链接:https://go.coder-hub.com/64266540.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定