Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Dec 6, 2024
1 parent 6617a4f commit 5db63af
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* - Alex Boyko (Broadcom Inc.) - Initial implementation
* Alex Boyko (Broadcom Inc.) - Initial implementation
*******************************************************************************/
package org.eclipse.jdt.text.tests.semantictokens;

Expand All @@ -29,12 +29,14 @@
import org.eclipse.jdt.ui.text.java.ISemanticTokensProvider;

/**
* Semantic tokens are computed for strig literals or text blocks starting with "SQL:" prefix.
* - SELECT, WHERE, IN, FROM are KEYWORD
* - *, <, >, ==, != etc are OPEARATOR
* - Words starting from capital are CLASS
* - Numbers are NUMBER
* - all other lower case starting words are LOCAL_VARIABLE
* Semantic tokens are computed for string literals or text blocks starting with "SQL:" prefix.
* <ul>
* <li>SELECT, WHERE, IN, FROM are KEYWORD</li>
* <li>*, &lt;, &gt;, ==, != etc are OPEARATOR</li>
* <li>Words starting from capital are CLASS</li>
* <li>Numbers are NUMBER</li>
* <li>all other lower case starting words are LOCAL_VARIABLE</li>
* </ul>
*/
public class SampleSqlSemanticTokensProvider implements ISemanticTokensProvider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* - Alex Boyko (Broadcom Inc.) - Initial implementation
* Alex Boyko (Broadcom Inc.) - Initial implementation
*******************************************************************************/
package org.eclipse.jdt.text.tests.semantictokens;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* - Alex Boyko (Broadcom Inc.) - Initial implementation
* Alex Boyko (Broadcom Inc.) - Initial implementation
*******************************************************************************/
package org.eclipse.jdt.internal.ui.preferences;

Expand Down Expand Up @@ -59,5 +59,4 @@ public String getUnderlinePreferenceKey() {
return preferenceKey + UNDERLINE;
}


}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* - Alex Boyko (Broadcom Inc.) - Initial implementation
* Alex Boyko (Broadcom Inc.) - Initial implementation
*******************************************************************************/
package org.eclipse.jdt.ui.text.java;

Expand Down

0 comments on commit 5db63af

Please sign in to comment.