mirror of
https://github.com/enso-org/enso.git
synced 2024-12-24 03:02:30 +03:00
dee9e079d4
Outline view and completions for Enso code in VSCode. # Important Notes This PR provides the necessary infrastructure for building VSCode extension that includes `enso_parser` library compiled for all supported platforms. VSCode extension can now use libraries from `sbt` that are `publishM2`-ready. To make that possible a documentation must have been provided and fixed for those modules - hence so many changes in `.scala` classes. <img width="862" alt="image" src="https://github.com/enso-org/enso/assets/26887752/7374bf41-bdc6-4322-b562-85a2e761de2a"> Last, but not least. The outline view and completions display something.
339 lines
14 KiB
XML
339 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<groupId>org.enso.tools</groupId>
|
||
<artifactId>enso4igv</artifactId>
|
||
<packaging>nbm</packaging>
|
||
<name>Enso Language Support for NetBeans & Ideal Graph Visualizer</name>
|
||
<version>1.40-SNAPSHOT</version>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.netbeans.utilities</groupId>
|
||
<artifactId>nbm-maven-plugin</artifactId>
|
||
<extensions>true</extensions>
|
||
<version>14.1</version>
|
||
<configuration>
|
||
<useOSGiDependencies>false</useOSGiDependencies>
|
||
<author>Enso.org</author>
|
||
<licenseName>Apache 2.0</licenseName>
|
||
<licenseFile>../../LICENSE</licenseFile>
|
||
<nbmResources>
|
||
<nbmResource>
|
||
<directory>${enso.parser.lib}</directory>
|
||
<targetPath>modules/lib/</targetPath>
|
||
<includes>
|
||
<include>**/*.dll</include>
|
||
<include>**/*.so</include>
|
||
<include>**/*.dylib</include>
|
||
</includes>
|
||
</nbmResource>
|
||
</nbmResources>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-jar-plugin</artifactId>
|
||
<version>3.2.2</version>
|
||
<configuration>
|
||
<archive>
|
||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||
</archive>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>uk.co.bithatch</groupId>
|
||
<artifactId>svg-rasterizer-maven-plugin</artifactId>
|
||
<version>1.2</version>
|
||
<executions>
|
||
<execution>
|
||
<id>Rasterize</id>
|
||
<goals>
|
||
<goal>rasterize-image</goal>
|
||
</goals>
|
||
<configuration>
|
||
<inputFile>src/main/resources/org/enso/tools/enso4igv/enso.svg</inputFile>
|
||
<destDir>dist/</destDir>
|
||
<outputs>
|
||
<output>
|
||
<path>enso.png</path>
|
||
<width>128</width>
|
||
<height>128</height>
|
||
<format>png</format>
|
||
</output>
|
||
</outputs>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.8.1</version>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.frgaal</groupId>
|
||
<artifactId>compiler-maven-plugin</artifactId>
|
||
<version>21.0.0</version>
|
||
</dependency>
|
||
</dependencies>
|
||
<configuration>
|
||
<compilerId>frgaal</compilerId>
|
||
<source>21</source>
|
||
<target>1.8</target>
|
||
<compilerArgs>
|
||
<arg>-Xlint:deprecation</arg>
|
||
<arg>-XDignore.symbol.file</arg>
|
||
</compilerArgs>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>2.15</version>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-api-annotations-common</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-modules-textmate-lexer</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-modules-projectapi</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-modules-projectuiapi</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-api-templates</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-filesystems</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-loaders</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-nodes</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-util</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-modules</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-util-lookup</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-util-ui</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-windows</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-text</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-core-multiview</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-awt</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-dialogs</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-modules-projectuiapi-base</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-api-java-classpath</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-modules-java-project</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-modules-java-platform</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-api-java</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-modules-java-project-ui</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-api-debugger-jpda</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-api-debugger</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-api-lsp</artifactId>
|
||
<version>RELEASE160</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<!--
|
||
$ sbt publishM2
|
||
-->
|
||
<groupId>org.enso</groupId>
|
||
<artifactId>runtime-parser</artifactId>
|
||
<version>0.2-SNAPSHOT</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-modules-nbjunit</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<scope>test</scope>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.modules</groupId>
|
||
<artifactId>org-netbeans-modules-projectapi-nb</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<scope>test</scope>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.modules</groupId>
|
||
<artifactId>org-netbeans-modules-lexer-nbbridge</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<scope>test</scope>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-modules-extexecution-base</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-netbeans-modules-extexecution</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.netbeans.api</groupId>
|
||
<artifactId>org-openide-io</artifactId>
|
||
<version>${netbeans.version}</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
</dependencies>
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<netbeans.version>RELEASE140</netbeans.version>
|
||
<netbeans.compile.on.save>none</netbeans.compile.on.save>
|
||
<enso.root>${basedir}/../../</enso.root>
|
||
<enso.parser.lib>${enso.root}/lib/rust/parser/target/classes/</enso.parser.lib>
|
||
</properties>
|
||
<profiles>
|
||
<profile>
|
||
<id>vsix</id>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>com.seovic.maven.plugins</groupId>
|
||
<artifactId>npm-maven-plugin</artifactId>
|
||
<version>1.0.4</version>
|
||
<executions>
|
||
<execution>
|
||
<id>install</id>
|
||
<phase>pre-integration-test</phase>
|
||
<goals>
|
||
<goal>install</goal>
|
||
</goals>
|
||
</execution>
|
||
<execution>
|
||
<id>version</id>
|
||
<goals>
|
||
<goal>exec</goal>
|
||
</goals>
|
||
<configuration>
|
||
<command>version</command>
|
||
<args>
|
||
<arg>${project.version}</arg>
|
||
</args>
|
||
</configuration>
|
||
</execution>
|
||
<execution>
|
||
<id>vsix</id>
|
||
<phase>post-integration-test</phase>
|
||
<goals>
|
||
<goal>run</goal>
|
||
</goals>
|
||
<configuration>
|
||
<script>vsix</script>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</profile>
|
||
</profiles>
|
||
</project>
|