Dmitry Gridin
8161403e69
ShortenReferences: shouldn't analyze root prefix elements & should get rid of them at end
...
Relates to #KT-33937
2019-10-16 15:59:47 +07:00
Anton Yalyshev
1e921647fe
Bump FUS Collectors versions after last changes for proper data fetching
2019-10-15 16:15:10 +03:00
Dmitry Gridin
2eb035aff2
generateUtil: fix PIEAE
...
#EA-142347 Fixed
2019-10-14 21:45:11 +07:00
Dmitry Gridin
585222b4bb
ScriptDefinitionsManager: shouldn't catch ControlFlowException
...
#EA-209928 Fixed
2019-10-14 21:45:10 +07:00
Alexey Kudravtsev
9c1e59c720
Use ReentrantLock instead of ReadWriteLock as a more cheaper alternative more suitable to usage pattern
2019-10-08 18:20:05 +03:00
Nikolay Krasko
343502125b
Rename ResolveInWriteActionManager -> ResolveInDispatchThreadManager
2019-10-02 15:58:44 +03:00
Sergey Rostov
4c579f5286
build.gradle.kts: collect statistics about auto reload, fix 183 as as34
2019-09-30 14:08:43 +03:00
Sergey Rostov
46f8feaf98
build.gradle.kts: collect statistics about auto reload
2019-09-30 09:44:52 +03:00
Anton Yalyshev
6fa7da57a4
It's better to get plugin version once but not in cycle
2019-09-27 20:06:53 +03:00
Anton Yalyshev
db189fa218
Remove Maven and JPS targets collectors that are unused now
2019-09-27 20:06:53 +03:00
Anton Yalyshev
d4266e1be6
Bunches for ProjectConfigurationCollector
2019-09-27 20:06:53 +03:00
Anton Yalyshev
21b7d873e7
Move build system and targets statistics collection from StartupActivity to FUS State Collector
2019-09-27 20:06:53 +03:00
Alexander Podkhalyuzin
9a2da67919
ShortenReferences: cleanup code & add tests for property-function conflicts
2019-09-27 17:52:11 +07:00
Natalia Selezneva
917a7f572d
Check that project is open before starting highlighting
...
This may be false when user opens Kotlin Scripting Settings, so default project is passed to ScriptDefinitionsManager
^KT-30206 Fixed
2019-09-27 12:59:43 +03:00
Ilya Kirillov
4e27d2e658
New J2K: do not use global write action for some post-processings which may use resolving while applying
...
Also, modify that post-processings & inspections to explicitly use write action
when modifying PSI elements
#KT-33875 fixed
2019-09-24 17:21:49 +03:00
Vladimir Dolzhenko
8b0aeb9a55
Do not resolve services in non-default ctors
2019-09-24 15:15:37 +02:00
Vladimir Dolzhenko
027c60080b
Added KotlinCodeInsightWorkspaceSettings in place of sharing kotlin settings with java CodeInsightSettings
2019-09-23 16:05:11 +02:00
Natalia Selezneva
eca7bbdb8c
Scripts: Check if file is in all script dependencies class files scope instead of searching for module info
...
^KT-32799 Fixed
^KT-16760 Add test
2019-09-23 12:06:25 +03:00
Natalia Selezneva
a62863128c
Fix exception from ProjectResolutionFacade when switching some definition off in settings
...
Fix AbstractScriptDefinitionsOrderTest
Remove updating script dependencies in test because in affects cache behavior: script will be already up to date when highlighting is called for the second time
2019-09-20 10:35:52 +03:00
Natalia Selezneva
5872a47c0e
Scripts: rehighlighting should be called for opened scripts after changing script definitions
...
In case when script dependencies were absent for script, highlighting was called only when the script changed
2019-09-20 10:35:52 +03:00
Anton Yalyshev
dfde3b4076
Rename collector of debugger events
2019-09-18 10:06:45 +03:00
Anton Yalyshev
61eb9faecd
Move status of evaluation from eventId to context for better data analytics
2019-09-18 10:06:45 +03:00
Vyacheslav Gerasimov
6327f657a5
193: Add bunches for 193 platform
2019-09-17 21:16:13 +03:00
Dmitriy Novozhilov
68bcdaa6c3
Don't ask for member scope for ILT in IterableTypesDetection
...
EA-206183 fixed
2019-09-12 12:27:12 +03:00
Nikolay Krasko
7f8774f68e
Fix NPE in KotlinIndicesHelper (EA-209799)
2019-09-11 12:40:26 +03:00
Natalia Selezneva
f7b8c7f76e
Check that project isn't disposed showing notification for scripts
...
EA-209612 - (Scripting, Notification) assert: ComponentManagerImpl.lambda$throwAlreadyDisposed$
2019-09-06 10:53:15 +03:00
Natalia Selezneva
fb01f7be5e
Rename ScriptDependenciesManager to ScriptConfigurationManager
2019-09-06 10:52:59 +03:00
Natalia Selezneva
961e8c2c74
Refactor the mechanism how script configurations are updated
...
Introduce file attributes cache, which is only applicable when no dependencies are cached in memory cache
Refactor ScriptDependenciesCache to memory cache that is able to get configuration from cache and checks if it is up to date
Move all public methods to ScriptDependenciesManager
Introduce ScriptClassRootsManager that checks if root change event should be called after script configuration update
2019-09-06 10:52:17 +03:00
Natalia Selezneva
dc46f73ecf
Rewrite scripting related API to PsiFile instead of VirtualFile
...
There were several places where we converted virtualFile to PsiFile. This operation need a read access and may throw ProcessCanceledException,
so we want to minimize its usages in IDE
2019-09-06 10:51:26 +03:00
Dmitry Gridin
dd2bd320ba
ShortenReferences: add root prefix support
...
#KT-9204 Fixed
2019-09-05 18:01:22 +07:00
Dmitry Gridin
0c81173b71
idea-core.Utils: add extension to FqName to support root prefix
2019-09-05 18:01:22 +07:00
Dmitry Gridin
953aaadee1
idea-core.Utils: cleanup code
2019-09-05 18:01:22 +07:00
Anton Yalyshev
fa1a558b76
Exclude logging in case of non-kotlin files
2019-09-01 08:22:37 +03:00
Anton Yalyshev
cd78f3d9d7
Add finish_reason and invocation_count to context
2019-09-01 08:22:36 +03:00
Anton Yalyshev
3926b91bb1
Add window appearance time. Fix final context data structure.
2019-09-01 08:22:34 +03:00
Anton Yalyshev
7afa75e802
Set event context structure
2019-09-01 08:22:33 +03:00
Anton Yalyshev
e99395e548
Register FUS collector for Code Completion
2019-09-01 08:22:03 +03:00
Alexander Podkhalyuzin
ac7c89b3b5
Completions stats physical part, collector part left
...
#KT-33090 Comment
2019-09-01 08:19:35 +03:00
Nikolay Krasko
8218ca5bae
More 182 branch mentioning remove
...
#KT-33536 Fixed
2019-08-30 12:14:58 +03:00
Nikolay Krasko
4d0fc1dc22
Remove 182 support
...
#KT-33536 Fixed
2019-08-30 12:13:44 +03:00
Nikolay Krasko
1c4ee6bd79
Remove as33 support
...
#KT-33536 Fixed
2019-08-30 12:13:09 +03:00
Ilya Kirillov
982e7fdd86
New J2K: do not shorten class references for some Java primitive class wrappers classes
...
It may cause unresolved call errors
#KT-33500 fixed
2019-08-29 11:31:53 +03:00
Dmitry Gridin
56a7445660
CreateExpect: should prefer type aliases
...
#KT-32571 Fixed
2019-08-27 17:26:10 +07:00
Toshiaki Kameyama
a3c3ab08fd
Override/Implement members: place members in the same order as super class members
2019-08-26 13:18:31 +07:00
Toshiaki Kameyama
7c2f6ecba7
Redundant curly braces in string template: remove braces for 'this'
...
#KT-32972 Fixed
2019-08-23 14:19:41 +07:00
Dmitry Gridin
23e79bb32b
ScriptDefinitionsManager: safeGetDefinitions shouldn't catch ControlFlowException
...
#EA-210332 Fixed
2019-08-20 17:08:47 +07:00
Dmitry Gridin
2b90735990
generateUtil: fix PIEAE
...
#EA-209598 Fixed
#EA-142347 Fixed
2019-08-20 17:08:41 +07:00
Dmitry Gridin
b570f99aae
generateUtil: cleanup code
2019-08-20 17:04:00 +07:00
Dmitry Gridin
cf3b92d80e
CreateTypeParameterFromUsageFix: fix KNPE for type alias
...
#KT-33302 Fixed
#EA-120181 Fixed
2019-08-20 17:04:00 +07:00
Mikhail Zarechenskiy
735e1ecec1
Disable new inference for IDE analysis by default in releases
2019-08-15 12:50:09 +03:00