Commit Graph

154579 Commits

Author SHA1 Message Date
Anna Kozlova
8a9e5ae9db A.super.field should not accept super interface (IDEA-140646) 2015-07-07 18:18:30 +03:00
Denis Fokin
ea24efaba3 IDEA-142305 Changes to files are not saved on frame deactivation 2015-07-07 18:04:12 +03:00
Maxim.Mossienko
4f67bb89a0 IDEA-142255 Find in Path - 'Recursively' checkbox does not update 'Preview' on change 2015-07-07 17:02:01 +02:00
Vassiliy.Kudryashov
f1e2803e8a rename "Console Folding" to "Console" 2015-07-07 17:54:09 +03:00
Vassiliy.Kudryashov
613856792a rename "Console Folding" to "Console" 2015-07-07 17:50:44 +03:00
Vladimir Krivosheev
a8f14254b3 respect excluded roots 2015-07-07 16:46:09 +02:00
Vassiliy.Kudryashov
4dc342b397 misprint 2015-07-07 17:44:42 +03:00
Vassiliy.Kudryashov
54123da638 Memleak fix 2015-07-07 17:41:35 +03:00
Maxim.Mossienko
fc922c959e - introduce record iterator for processing records during compact
- implement record iterator for CompactRecordTable to skip extra records
2015-07-07 16:36:40 +02:00
Egor.Ushakov
a32eba7302 - use editor font in implements/override popup
- use correct font size in presentation mode
2015-07-07 17:32:00 +03:00
Vassiliy.Kudryashov
976eb7ef31 Assertion for memleak 2015-07-07 17:27:32 +03:00
Sergey Simonchik
fd0c9c948e call addCurrentTextToHistory() directly because it can be overridden (IDEA-CR-3607) 2015-07-07 17:25:40 +03:00
Yaroslav Lepenkin
8aca2ddc7d Fixed NPE, space property can be null 2015-07-07 17:24:10 +03:00
Yaroslav Lepenkin
0f1250513c Fixed compilation after rebase 2015-07-07 17:24:10 +03:00
Yaroslav Lepenkin
6731485cb8 Reformat with context on postponed formatting: fixed java test data 2015-07-07 17:24:09 +03:00
Yaroslav Lepenkin
b4e8c6e38d Reformat with context on postponed formatting: fixed groovy test data 2015-07-07 17:24:09 +03:00
Yaroslav Lepenkin
148b797de2 Reformat with context: do not touch blocks with read only spacing property.
Spacing is set to read-only by FormattingModelBuilder implementors, so they expect spacing to be really read-only, however if WhiteSpace is read-only but Spacing is not, it means that we are formatting text range, and current WhiteSpace is not located inside, so we can modify in such a case
2015-07-07 17:24:08 +03:00
Yaroslav Lepenkin
59a1e0c715 Use reformat with context on postprocess reformat 2015-07-07 17:24:08 +03:00
Yaroslav Lepenkin
f3107a404d Set min spaces for linebreak to 1, so when spacing becomes lineFeedsReadOnly it doesn't collapse.
Spaces becomes lineFeedsReadOnly, when reformatWithContext works (reformat VCS changed text or postprocess reformat)
2015-07-07 17:24:07 +03:00
Yaroslav Lepenkin
f179f7072d Reformat with context: do not touch linefeeds 2015-07-07 17:24:07 +03:00
Yaroslav Lepenkin
ecf06ab80c Alignment on "public, static, void, <T>, throws" replaced with none indent.
Previously alignment were created for mostly every element of method/class declaration
|public |void |run() {
}

Therefore, when posprocess reformat is used in reformat context mode on "run" rename will be reformatted whole method declaration starting with public, which sometimes can be not usefull
2015-07-07 17:24:06 +03:00
Yaroslav Lepenkin
2df44a4293 Reformat with context: collect all alignments from blocks, standing after reformatted range end, but before end of line.
Say we renamed some method:
xxx(a,       xxxxxx(a,
    b)           b)

 Because alignment "a" comes after modified xxx and before end of line, we collect it, and then mark all blocks with same alignment as NOT read only, so they can be realigned accordingly. So actual result will be:
xxxxxx(a,
       b)
2015-07-07 17:24:06 +03:00
Yaroslav Lepenkin
c50ae0af75 Reformat with context: Corrected block alignment retrieval 2015-07-07 17:24:05 +03:00
peter
750c66950a group exceptions using alarm instead of a permanent bg activity 2015-07-07 15:26:59 +02:00
peter
934749d831 MemoryUsagePanel: no periodic update when not shown 2015-07-07 15:26:59 +02:00
peter
22dd8671d9 don't burn CPU when no non-standard progresses are present 2015-07-07 15:26:58 +02:00
Kirill Likhodedov
a4da2d17a8 [git] IDEA-142339 wrap possible parsing exceptions into VcsException
To make sure they are caught.
2015-07-07 16:23:32 +03:00
Sergey Simonchik
71222c6b64 TextFieldWithHistory#setTextAndAddToHistory method added to simplify clients 2015-07-07 16:14:02 +03:00
Kirill Likhodedov
b51d8c50ef [vcs] IDEA-141729 Don't ask to remove the VCS root if a module with it has been removed
We don't prompt on adding a module, so let's not prompt on its removal.
2015-07-07 16:13:02 +03:00
Kirill Likhodedov
d350ec6b3c Merge remote-tracking branch 'origin/master' 2015-07-07 16:04:19 +03:00
Maxim.Mossienko
5077de0417 [vcs] Speed up the VcsDirtyScopeVfsListener: use the VirtualFile available from event instead of finding it by path each time 2015-07-07 16:03:21 +03:00
Sergey Malenkov
37307a54dc IDEA-142218 Pop-up for cut string at tool windows is shown even if focus is not at Idea
support focus in owned windows, not only in owner window
2015-07-07 16:01:28 +03:00
Alexander Koshevoy
fd7e5c4547 PY-15431 Render remote SDK as invalid if Vagrant instance folder is empty for better comprehension 2015-07-07 15:56:27 +03:00
Maxim.Mossienko
68700519f6 - tests for CompactRecordsTable
- delete extended records when record deleted
2015-07-07 14:44:25 +02:00
Kirill Likhodedov
b3ea85b31c Merge remote-tracking branch 'origin/master' 2015-07-07 15:14:54 +03:00
Kirill Likhodedov
e5b01c4edc [git] IDEA-142339 catch any type of exceptions when analyzing revision validity 2015-07-07 15:14:06 +03:00
Sergey Malenkov
713cd38bbd IDEA-142218 Pop-up for cut string at tool windows is shown even if focus is not at Idea 2015-07-07 15:11:18 +03:00
Anna Kozlova
fde12ea8dd unimplement with cyclic inheritance (IDEA-142343) 2015-07-07 14:55:18 +03:00
Anna Kozlova
e299d71332 modifier list intention: ensure range is valid (IDEA-142333) 2015-07-07 14:55:16 +03:00
Anna Kozlova
303edac35e functional type erasure: check if resulted type functional (IDEA-142341) 2015-07-07 14:55:14 +03:00
Rustam Vishnyakov
9757f190f3 IDEA-72261 configure line wrapping per file or per file type (changes for CR-IC-7360, more are coming) 2015-07-07 14:29:39 +03:00
Vassiliy.Kudryashov
c7981601e2 IDEA-63980 Make idea.cycle.buffer.size configurable in IDEA GUI / IDEA settings 2015-07-07 14:00:08 +03:00
Alexey Kudravtsev
981beb2dab lock free findChildById 2015-07-07 13:57:02 +03:00
Alexey Kudravtsev
800419cc5e optimisation: cache directories to reduce typical number of findChildById() to one 2015-07-07 13:54:30 +03:00
Alexey Kudravtsev
005e3fbbae optimisation: avoid recalculating hashcode if possible 2015-07-07 13:53:44 +03:00
Alexey Kudravtsev
fbbdf07874 incorrect CharSequence implementation 2015-07-07 13:53:11 +03:00
Alexey Kudravtsev
05874b2769 clear the changed files queue when the project is about to close 2015-07-07 13:52:04 +03:00
Alexey Kudravtsev
6f76d0b27d tighten visibility 2015-07-07 13:48:02 +03:00
Alexey Kudravtsev
acdb030cf7 notnull 2015-07-07 13:48:00 +03:00
Alexey Kudravtsev
9576593064 reflection cleanup 2015-07-07 13:47:59 +03:00