Java “失踪类别”;com.intellij.remoteServer.util.CloudBundle“;
我正在尝试对一个过时的想法插件做出贡献Java “失踪类别”;com.intellij.remoteServer.util.CloudBundle“;,java,intellij-idea,plugins,Java,Intellij Idea,Plugins,我正在尝试对一个过时的想法插件做出贡献 然后代码中缺少符号: import com.intellij.remoteServer.util.CloudBundle; ^ 我是新开发idea插件的人,我肯定错过了什么 代码是 RestfulToolkitFeaturesProvider.java ... import com.intellij.remoteServer.util.CloudBundle; import ja
然后代码中缺少符号:
import com.intellij.remoteServer.util.CloudBundle;
^
我是新开发idea插件的人,我肯定错过了什么代码是
RestfulToolkitFeaturesProvider.java
...
import com.intellij.remoteServer.util.CloudBundle;
import java.util.Collections;
public class RestfulToolkitFeaturesProvider extends ProductivityFeaturesProvider {
public static final String CLOUDS_GROUP_ID = "clouds";
public static final String UPLOAD_SSH_KEY_FEATURE_ID = "upload.ssh.key";
@Override
public FeatureDescriptor[] getFeatureDescriptors() {
return new FeatureDescriptor[]{new FeatureDescriptor(UPLOAD_SSH_KEY_FEATURE_ID,
CLOUDS_GROUP_ID,
"UploadSshKey.html",
CloudBundle.getText("upload.ssh.key.display.name"),
0,
0,
Collections.<String>emptySet(),
0,
this)};
}
@Override
public GroupDescriptor[] getGroupDescriptors() {
return new GroupDescriptor[]{
new GroupDescriptor(CLOUDS_GROUP_ID, CloudBundle.getText("group.display.name"))
};
}
...
}
。。。
导入com.intellij.remoteServer.util.CloudBundle;
导入java.util.Collections;
公共类RestfulToolkitFeaturesProvider扩展了生产力FeaturesProvider{
公共静态最终字符串CLOUDS\u GROUP\u ID=“CLOUDS”;
公共静态最终字符串上传\u SSH\u KEY\u FEATURE\u ID=“UPLOAD.SSH.KEY”;
@凌驾
公共功能描述符[]getFeatureDescriptors(){
返回新的FeatureDescriptor[]{new FeatureDescriptor(上载\u SSH\u KEY\u FEATURE\u ID,
云组ID,
“UploadSshKey.html”,
getText(“upload.ssh.key.display.name”),
0,
0,
Collections.emptySet(),
0,
本),;
}
@凌驾
公共组描述符[]getGroupDescriptors(){
返回新的GroupDescriptor[]{
新的GroupDescriptor(CLOUDS\u GROUP\u ID,CloudBundle.getText(“GROUP.display.name”))
};
}
...
}
渐变文件是build.gradle
plugins {
id 'org.jetbrains.intellij' version '0.4.18'
}
group 'com.zhaow'
version '2.0.6'
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version '2020.1'
localPath 'D:\\sft\\ideaIC-2020.1.win'
plugins = ['java', 'Kotlin', 'yaml', 'properties']
}
patchPluginXml {
changeNotes """
Add change notes here.<br>
<em>most HTML tags may be used</em>"""
}
dependencies {
'commons-codec:commons-codec:1.14'
'org.apache.httpcomponents:httpclient:4.5.12'
}
插件{
id“org.jetbrains.intellij”版本“0.4.18”
}
“com.zhaow”组
版本“2.0.6”
//看https://github.com/JetBrains/gradle-intellij-plugin/
intellij{
版本“2020.1”
本地路径'D:\\sft\\ideaIC-2020.1.win'
插件=['java'、'Kotlin'、'yaml'、'properties']
}
patchPluginXml{
更改注释“”
在此处添加更改注释。
大多数HTML标记都可以使用“”
}
依赖关系{
'通用编解码器:通用编解码器:1.14'
'org.apache.httpcomponents:httpclient:4.5.12'
}
idea 2020.1版中不推荐AllIcons.Modules.ModulesNode,请使用AllIcons.Nodes.ModuleGroup。idea 2020.1版中不推荐AllIcons.Modules.ModulesNode,请使用AllIcons.Nodes.ModuleGroup
plugins {
id 'org.jetbrains.intellij' version '0.4.18'
}
group 'com.zhaow'
version '2.0.6'
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version '2020.1'
localPath 'D:\\sft\\ideaIC-2020.1.win'
plugins = ['java', 'Kotlin', 'yaml', 'properties']
}
patchPluginXml {
changeNotes """
Add change notes here.<br>
<em>most HTML tags may be used</em>"""
}
dependencies {
'commons-codec:commons-codec:1.14'
'org.apache.httpcomponents:httpclient:4.5.12'
}