-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added qulice and fixed part of its reports
- Loading branch information
Showing
24 changed files
with
927 additions
and
853 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<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.eolang</groupId> | ||
<artifactId>org.eolang.jetbrains</artifactId> | ||
<version>1</version> | ||
<dependencies> | ||
|
||
</dependencies> | ||
<profiles> | ||
<profile> | ||
<id>qulice</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.qulice</groupId> | ||
<artifactId>qulice-maven-plugin</artifactId> | ||
<configuration> | ||
<excludes combine.children="append"> | ||
<exclude>checkstyle:/src/site/resources/.*</exclude> | ||
<exclude>duplicatefinder:.*</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.1</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
<properties> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
</properties> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 37 additions & 17 deletions
54
src/main/java/org/eolang/jetbrains/EOCompletionContributor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,46 @@ | ||
// Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed | ||
// by the Apache 2.0 license that can be found in the LICENSE file. | ||
/* | ||
* The MIT License (MIT) | ||
* | ||
* Copyright (c) 2021-2022 Stepan Strunkov | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included | ||
* in all copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
* SOFTWARE. | ||
*/ | ||
|
||
package org.eolang.jetbrains; | ||
/*package org.eolang.jetbrains; | ||
import com.intellij.codeInsight.completion.*; | ||
import com.intellij.patterns.PlatformPatterns; | ||
import com.intellij.util.ProcessingContext; | ||
import org.jetbrains.annotations.NotNull; | ||
public class EOCompletionContributor extends CompletionContributor { | ||
public EOCompletionContributor() { | ||
extend( | ||
CompletionType.BASIC, | ||
PlatformPatterns.psiElement(), | ||
new CompletionProvider<CompletionParameters>() { | ||
@Override | ||
public void addCompletions( | ||
@NotNull CompletionParameters parameters, | ||
@NotNull ProcessingContext context, | ||
@NotNull CompletionResultSet resultSet) { | ||
System.out.println(context.getSharedContext()); | ||
} | ||
public EOCompletionContributor() { | ||
extend( | ||
CompletionType.BASIC, | ||
PlatformPatterns.psiElement(), | ||
new CompletionProvider<CompletionParameters>() { | ||
@Override | ||
public void addCompletions( | ||
@NotNull final CompletionParameters parameters, | ||
@NotNull final ProcessingContext context, | ||
@NotNull final CompletionResultSet resultSet) { | ||
} | ||
}); | ||
} | ||
} | ||
} | ||
}*/ |
Oops, something went wrong.
23bd13a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't able to retrieve PDD puzzles from the code base and submit them to GitHub. If you think that it's a bug on our side, please submit it to yegor256/0pdd:
Please, copy and paste this stack trace to GitHub: