mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-16 19:44:36 +00:00
Add checkstyle rules (#274)
This commit is contained in:
parent
fe613afc74
commit
c4115e257b
72 changed files with 1129 additions and 564 deletions
|
|
@ -34,18 +34,23 @@ import org.jetbrains.annotations.NotNull;
|
|||
public class OverlayUtils {
|
||||
|
||||
public static void showNotification(String content, NotificationType type) {
|
||||
Notifications.Bus.notify(new Notification("CodeGPT Notification Group", "CodeGPT", content, type));
|
||||
Notifications.Bus.notify(
|
||||
new Notification("CodeGPT Notification Group", "CodeGPT", content, type));
|
||||
}
|
||||
|
||||
public static int showFileStructureDialog(Project project, FolderStructureTreePanel folderStructureTreePanel) {
|
||||
public static int showFileStructureDialog(
|
||||
Project project,
|
||||
FolderStructureTreePanel folderStructureTreePanel) {
|
||||
var dialogBuilder = new DialogBuilder(project);
|
||||
dialogBuilder.setNorthPanel(JBUI.Panels.simplePanel(new JBLabel(
|
||||
"<html>" +
|
||||
"<p>Indexing files enables direct queries related to your codebase.</p>" +
|
||||
"<br/>" +
|
||||
"<p>File indexing occurs locally on your computer; no files are sent to any 3rd party services.</p>" +
|
||||
"<p>For additional information, refer to the <a href=\"https://google.com\">CodeGPT documentation</a>.</p>" +
|
||||
"</html>")
|
||||
"<html>"
|
||||
+ "<p>Indexing files enables direct queries related to your codebase.</p>"
|
||||
+ "<br/>"
|
||||
+ "<p>File indexing occurs locally on your computer; "
|
||||
+ "no files are sent to any 3rd party services.</p>"
|
||||
+ "<p>For additional information, refer to the "
|
||||
+ "<a href=\"https://google.com\">CodeGPT documentation</a>.</p>"
|
||||
+ "</html>")
|
||||
.setCopyable(true)
|
||||
.setAllowAutoWrapping(true)
|
||||
.withFont(JBFont.medium()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue