mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[ai-completion] ML-4039 add single-line completion evaluation visitor for sql
GitOrigin-RevId: b78fd1e92c488eb4c0d85ab22e8c43241da84910
This commit is contained in:
committed by
intellij-monorepo-bot
parent
af7483f0d5
commit
7bbdb90c19
@@ -1,6 +1,9 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.cce.core
|
||||
|
||||
import com.intellij.cce.core.Language.entries
|
||||
|
||||
|
||||
enum class Language(val displayName: String, private val extensions: List<String>, val ideaLanguageId: String, val needSdk: Boolean = false,
|
||||
val curlyBracket: Boolean = true) {
|
||||
JAVA("Java", listOf("java"), "JAVA", needSdk = true),
|
||||
@@ -24,6 +27,7 @@ enum class Language(val displayName: String, private val extensions: List<String
|
||||
SASS("SASS", listOf("sass"), "SASS"),
|
||||
HTML("HTML", listOf("html"), "HTML"),
|
||||
TERRAFORM("Terraform", listOf("tf", "tfvars"), "HCL-Terraform"),
|
||||
SQL("SQL", listOf("sql"), "SQL"),
|
||||
ANOTHER("Another", listOf(), ""),
|
||||
UNSUPPORTED("Unsupported", listOf(), ""); // TODO: There are no unsupported languages
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
- name: intellij.evaluationPlugin.languages.cpp
|
||||
- name: intellij.evaluationPlugin.languages.csharp
|
||||
- name: intellij.evaluationPlugin.languages.terraform
|
||||
- name: intellij.evaluationPlugin.languages.sql
|
||||
- name: intellij.tools.ide.metrics.collector
|
||||
- name: intellij.evaluationPlugin.languages
|
||||
reason: <- intellij.evaluationPlugin
|
||||
|
||||
@@ -83,6 +83,8 @@
|
||||
<depends optional="true" config-file="evaluationPlugin-statsCollector.xml">com.intellij.stats.completion</depends>
|
||||
<!--suppress PluginXmlValidity -->
|
||||
<depends optional="true" config-file="evaluationPlugin-terraform.xml">org.intellij.terraform</depends>
|
||||
<!-- suppress PluginXmlValidity -->
|
||||
<depends optional="true" config-file="evaluationPlugin-sql.xml">com.intellij.database</depends>
|
||||
<!--suppress PluginXmlValidity -->
|
||||
<depends optional="true" config-file="evaluationPlugin-fullLine.xml">org.jetbrains.completion.full.line</depends>
|
||||
<!--suppress PluginXmlValidity -->
|
||||
|
||||
Reference in New Issue
Block a user