|
1 | 1 | /* |
2 | | - * Copyright (c) 2013 Patrick Scheibe |
| 2 | + * Copyright (c) 2018 Patrick Scheibe |
| 3 | + * |
3 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
4 | 5 | * of this software and associated documentation files (the "Software"), to deal |
5 | 6 | * in the Software without restriction, including without limitation the rights |
6 | 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
7 | 8 | * copies of the Software, and to permit persons to whom the Software is |
8 | 9 | * furnished to do so, subject to the following conditions: |
9 | 10 | * |
10 | | - * The above copyright notice and this permission notice shall be included in |
11 | | - * all copies or substantial portions of the Software. |
| 11 | + * The above copyright notice and this permission notice shall be included in all |
| 12 | + * copies or substantial portions of the Software. |
12 | 13 | * |
13 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
14 | 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
15 | 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
16 | 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
17 | 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
18 | | - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
19 | | - * THE SOFTWARE. |
| 19 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 20 | + * SOFTWARE. |
20 | 21 | */ |
21 | 22 |
|
22 | 23 | package de.halirutan.mathematica.codeinsight.completion; |
|
34 | 35 | */ |
35 | 36 | public class MathematicaCompletionContributor extends CompletionContributor { |
36 | 37 |
|
37 | | - public static final double LOCAL_VARIABLE_PRIORITY = 40; |
38 | | - public static final double GLOBAL_VARIABLE_PRIORITY = 35; |
39 | | - public static final double IMPORT_VARIABLE_PRIORITY = 30; |
| 38 | + public static final double LOCAL_VARIABLE_PRIORITY = 10000; |
| 39 | + public static final double GLOBAL_VARIABLE_PRIORITY = 9000; |
| 40 | + public static final double IMPORT_VARIABLE_PRIORITY = 8000; |
40 | 41 |
|
41 | 42 |
|
42 | 43 | public MathematicaCompletionContributor() { |
|
0 commit comments