Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
梦境迷离
Scala Macro Tools
提交
6a259f94
S
Scala Macro Tools
项目概览
梦境迷离
/
Scala Macro Tools
上一次同步 大约 1 年
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Scala Macro Tools
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
6a259f94
编写于
7月 10, 2021
作者:
梦境迷离
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change README_EN.md
上级
b1a77e0a
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
19 deletion
+5
-19
.gitignore
.gitignore
+0
-1
.run/intellij-plugin.run.xml
.run/intellij-plugin.run.xml
+0
-15
README.md
README.md
+3
-1
README_EN.md
README_EN.md
+2
-2
未找到文件。
.gitignore
浏览文件 @
6a259f94
...
...
@@ -18,5 +18,4 @@ examples2-13/target/
intellij-plugin/target/
intellij-plugin/project/project/
intellij-plugin/project/target/
!.idea/artifacts/
/.idea/
.run/intellij-plugin.run.xml
已删除
100644 → 0
浏览文件 @
b1a77e0a
<component
name=
"ProjectRunConfigurationManager"
>
<configuration
default=
"false"
name=
"intellij-plugin"
type=
"Application"
factoryName=
"Application"
>
<option
name=
"ALTERNATIVE_JRE_PATH"
value=
"11"
/>
<option
name=
"ALTERNATIVE_JRE_PATH_ENABLED"
value=
"true"
/>
<option
name=
"MAIN_CLASS_NAME"
value=
"com.intellij.idea.Main"
/>
<module
name=
"scala-macro-tools-intellij-plugin"
/>
<option
name=
"VM_PARAMETERS"
value=
"-cp "$USER_HOME$/.Scala-Macro-ToolsPluginIC/sdk/211.7628.21/lib/*" -Dsun.io.useCanonPrefixCache=false -ea -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -Dsun.tools.attach.tmp.only=true -Dide.no.platform.update=true -Dkotlinx.coroutines.debug=off -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -XX:MaxJavaStackTraceDepth=10000 -Didea.debug.mode=true -Dapple.laf.useScreenMenuBar=true -Duse.linux.keychain=false -Didea.initially.ask.config=true -Xms512m -Xmx1536m -XX:ReservedCodeCacheSize=240m -XX:SoftRefLRUPolicyMSPerMB=50 -XX:+UseG1GC -XX:CICompilerCount=2 -Didea.system.path="$USER_HOME$/.Scala-Macro-ToolsPluginIC/system" -Didea.config.path="$USER_HOME$/.Scala-Macro-ToolsPluginIC/config" -Dplugin.path="$PROJECT_DIR$/intellij-plugin/target/plugin/Scala-Macro-Tools" -Didea.is.internal=true -Didea.platform.prefix=Idea"
/>
<method
v=
"2"
>
<option
name=
"Make"
enabled=
"true"
/>
<option
name=
"BuildArtifacts"
enabled=
"true"
>
<artifact
name=
"intellij-plugin"
/>
</option>
</method>
</configuration>
</component>
\ No newline at end of file
README.md
浏览文件 @
6a259f94
...
...
@@ -25,11 +25,12 @@
-
`@apply`
-
`@constructor`
> 涉及到交互操作的注解在IDEA插件中都得到了支持。在插件市场中搜索`Scala-Macro-Tools`可下载。
## 已知问题
-
不支持泛型。
-
`@constructor`
与
`@toString`
同时使用,必须放最后。
-
IDEA对宏的支持不是很好,所以会出现标红,不过编译没问题,调用结果也符合预期。
## @toString
...
...
@@ -261,6 +262,7 @@ def <init>(int: Int, j: Int, k: Option[String], t: Option[Long], b: Int) = {
| Library Version | Scala 2.11 | Scala 2.12 | Scala 2.13 |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 0.1.0 |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.1.0
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.1.0/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.1.0
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.1.0/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.1.0
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.1.0/jar) |
| 0.0.6 |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.6
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.6/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.6
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.6/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.6
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.6/jar) |
| 0.0.5 |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.5
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.5/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.5
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.5/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.5
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.5/jar) |
| 0.0.4 |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.4
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.4/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.4
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.4/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.4
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.4/jar) |
...
...
README_EN.md
浏览文件 @
6a259f94
...
...
@@ -23,13 +23,12 @@ Learn Scala macro and abstract syntax tree.
-
`@apply`
-
`@constructor`
> Annotations involving interaction are supported in the idea plug-in (named `Scala-Macro-Tools` in Marketplace).
## Known Issues
-
Generic is not supported.
-
When
`@constructor`
and
`@toString`
are used together, the former must be put last.
-
IDE support is not very good, a red prompt will appear, but the compilation is OK.
## @toString
...
...
@@ -262,6 +261,7 @@ The artefacts have been uploaded to Maven Central.
| Library Version | Scala 2.11 | Scala 2.12 | Scala 2.13 |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 0.1.0 |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.1.0
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.1.0/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.1.0
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.1.0/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.1.0
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.1.0/jar) |
| 0.0.6 |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.6
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.6/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.6
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.6/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.6
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.6/jar) |
| 0.0.5 |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.5
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.5/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.5
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.5/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.5
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.5/jar) |
| 0.0.4 |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.4
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.11/0.0.4/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.4
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.12/0.0.4/jar) |
[
![Maven Central
](
https://img.shields.io/maven-central/v/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.4
)
](https://search.maven.org/artifact/io.github.jxnu-liguobin/scala-macro-tools_2.13/0.0.4/jar) |
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录