Commit Graph

9445 Commits

Author SHA1 Message Date
Denis Zharkov e1e3a6c9ad Introduce const into decompiler and stub builder 2015-09-23 08:20:57 +03:00
Denis Zharkov afd4e644a3 Report warning on usages of non-const vals in places where constants expected 2015-09-23 08:20:57 +03:00
Denis Zharkov 98dd08109d Serialize/Deserialize const modifier 2015-09-23 08:20:56 +03:00
Denis Zharkov 02b64ce1ed Parse const as soft modifier keyword 2015-09-23 08:20:56 +03:00
Valentin Kipyatkov 1afdb8d996 No nested classes auto-import 2015-09-23 01:42:19 +03:00
Valentin Kipyatkov 3d129522db Auto-import fix to use dependency rules (as in Java) 2015-09-23 01:42:19 +03:00
Valentin Kipyatkov 8f78b27462 Minor refactoring 2015-09-23 01:42:18 +03:00
Valentin Kipyatkov 232ab33c3a Minor 2015-09-23 01:42:18 +03:00
Valentin Kipyatkov 56b088233a KT-8179 Settings / "Add unambiguous imports on the fly" could work in Kotlin files too
#KT-8179 Fixed
2015-09-23 01:42:18 +03:00
Dmitry Kovanikov e26fe0b080 Disable completion in repl 2015-09-22 21:11:56 +03:00
Dmitry Kovanikov 87969f1660 Minor: change repl.ideMode property name to kotlin.repl.ideMode 2015-09-22 21:11:55 +03:00
Dmitry Kovanikov ab06dbfc70 Repl: add test to check multiline support 2015-09-22 21:11:54 +03:00
Alexander Udalov e52a9b9fb8 Rename ClassDataProvider -> ClassDataWithSource 2015-09-22 18:22:58 +03:00
Alexander Udalov 0ef705f073 Minor, convert ClassData and PackageData to Kotlin data classes 2015-09-22 18:22:57 +03:00
Alexander Udalov 7cc416ed12 Minor, rename TRAIT -> INTERFACE, CLASS_OBJECT -> COMPANION_OBJECT 2015-09-22 18:22:54 +03:00
Dmitry Jemerov 9b33721a98 don't try to add auto-import if user closed the project while the popup was displayed (EA-67037 - assert: ComponentManagerImpl.getComponent) 2015-09-22 16:11:38 +02:00
Dmitry Jemerov 7ae5506d99 don't create reports for empty elements (EA-67307 - assert: ProblemDescriptorBase.<init>) 2015-09-22 16:11:37 +02:00
Dmitry Jemerov c669a06c97 return null instead of asserting on declarations with null name (EA-69471 - assert: JetSourceNavigationHelper.convertPropertyOrFunction) 2015-09-22 16:11:36 +02:00
Dmitry Jemerov 0febe3322b don't register template listener if we don't have an editor (EA-70683 - KNPE: OverrideImplementMethodsHandler.invoke) 2015-09-22 16:11:36 +02:00
Dmitry Jemerov e7a0f077f0 according to Peter, getting a PCE from indexes is a valid situation, don't log this as an error (EA-73265 - assert: KotlinCopyPasteReferenceProcessor.collectTransferableData) 2015-09-22 16:11:35 +02:00
Dmitry Jemerov 55b422ab9b remove 'public' modifier from default file templates 2015-09-22 16:07:48 +02:00
Dmitry Jemerov c5309d7955 to avoid deadlock, don't refresh VFS during service initialization, instead refresh asynchronously during plugin initialization 2015-09-22 15:11:42 +02:00
Zalim Bashorov a1979b6eb4 Regenerate tests for JS reserved words when cases changed 2015-09-22 15:00:37 +02:00
Dmitry Jemerov 4ca434da54 remove support for 'trait' keyword 2015-09-22 15:00:24 +02:00
Alexey Sedunov 8603a36404 IDEA 142.4859.6: Invalidate library cache in setUp() to prevent access to
ClsFiles invalidated by the previous test
2015-09-21 18:07:44 +03:00
Alexey Sedunov a892d3f995 IDEA 142.4859.6: Update dependencies and fix compilation 2015-09-21 18:07:43 +03:00
Mikhail Glukhikh c24156ae84 "field": backing field usage deprecated warning, relevant diagnostics tests changed 2015-09-21 15:48:03 +03:00
Mikhail Glukhikh a1e3471d92 "field": deprecated warnings introduced, compiler tests migrated to the new syntax 2015-09-21 15:48:00 +03:00
Mikhail Glukhikh 094c6cebc3 "field": highlighting fix, including color schemes and example 2015-09-21 15:47:55 +03:00
Mikhail Glukhikh 9f640b00d9 "field": synthetic variable creation in accessors, codegen changed accordingly, a set of tests, relevant code fix (j2k) 2015-09-21 15:47:49 +03:00
Dmitry Kovanikov 8aa701ec2d [ide-console] Minor: highlight error if its range offsets are equal 2015-09-21 14:41:37 +03:00
Dmitry Kovanikov cc2e320228 [cli-repl] More accurate line breaks handling 2015-09-21 14:41:36 +03:00
Dmitry Kovanikov ad49272b3b [ide-console] Minor: change pathSeparator variable 2015-09-21 14:41:34 +03:00
Pavel V. Talanov 30d675d49f Repl: fix paths on windows 2015-09-21 14:41:34 +03:00
Dmitry Kovanikov 3f44fe5955 [cli-repl] Optimize System.in to send "change indicator" message only when readLine is called 2015-09-21 14:41:32 +03:00
Dmitry Kovanikov 1f4fab0047 [ide-console] Add all paths of compiled module (production, test) 2015-09-21 14:41:32 +03:00
Dmitry Kovanikov 9bf0c8453d [cli-repl][ide-console] Add logging of internal errors
Rename `jvmStatic` to `@JvmStatic`
2015-09-21 14:41:30 +03:00
Dmitry Kovanikov 38285496cb [ide-console] Different refactoring
No more redundant trims and adding of line breaks
Remove concurrent map from editors
Rename IconPack to IconWithTooltip
Some minor changes
2015-09-21 14:41:30 +03:00
Dmitry Kovanikov bd52462420 [ide-console] Add tooltips to all icons 2015-09-21 14:41:29 +03:00
Dmitry Kovanikov b4224bf9f3 [ide-console][cli-repl] Add more icons for readLine commands 2015-09-21 14:41:29 +03:00
Dmitry Kovanikov 724b208a5d [test] Add readLine() tests 2015-09-21 14:41:28 +03:00
Dmitry Kovanikov 42c0396308 [cli-repl] Support readLine() during repl session 2015-09-21 14:41:27 +03:00
Dmitry Kovanikov 00a117f089 [test] Add tests on simple commands 2015-09-21 14:41:27 +03:00
Dmitry Kovanikov 6d8c6857b8 [ide-console] Add folding to history commands 2015-09-21 14:41:26 +03:00
Dmitry Kovanikov 48866fbeeb [ide-console] Remove INCOMPLETE support from ide console 2015-09-21 14:41:25 +03:00
Dmitry Kovanikov fcc5fa13f3 [ide-console] Move warning messages about compilation inside consoleView 2015-09-21 14:41:25 +03:00
Dmitry Kovanikov 058b539004 [ide-console][cli-repl] Decorations for smooth console view
Icons on history commands
Linebreaks between `command-result` blocks
Exceptions stacktrace and icons
Bold invitation
2015-09-21 14:41:24 +03:00
Dmitry Kovanikov 3271fae7ac [ide-console] Show warning notification after Build and Restart action in case of failed compilation 2015-09-21 14:41:24 +03:00
Dmitry Kovanikov 43f3c9d603 [ide-console] Disable setting of moduleInfo to console editor JetFile 2015-09-21 14:41:23 +03:00
Dmitry Kovanikov 740f311af6 [test] Fix testOnRunPossibility 2015-09-21 14:41:22 +03:00