Commit Graph

1741 Commits

Author SHA1 Message Date
Jakub Valtar
d73dc886f8 ASTGen: fix find usage 2016-04-18 00:15:42 +02:00
Jakub Valtar
47d6dbcecd ASTGen: fix debug tree labels & highlighting 2016-04-17 03:14:47 +02:00
Jakub Valtar
efdeb84dae ECS + ASTGen: fix minor mapping inaccuracies 2016-04-17 03:14:34 +02:00
Jakub Valtar
270cf8c7d0 ECS: fix problem highlighting 2016-04-16 23:03:45 +02:00
Jakub Valtar
55e955b9fb ECS + ASTGen: big offset fix
- PreprocessedSketch is now top level class
- go do declaration (ctrl+click) was fixed and is now handled via JDT
- various offset conversions were simplified and code completion now
works as before
2016-04-16 22:55:21 +02:00
Jakub Valtar
68264f228d ECS: generate AST with bindings 2016-04-16 12:42:28 +02:00
Jakub Valtar
56a2582aea ECS: preserve class path array 2016-04-16 12:41:21 +02:00
Jakub Valtar
1a255f8025 ASTGen: use compilation unit from preprocessed sketch 2016-04-14 20:07:04 +02:00
Jakub Valtar
1f78c75db0 ASTGen: use classpath from preprocessed sketch 2016-04-14 20:02:28 +02:00
Jakub Valtar
955299bbb4 ASTGen: enhanced class lookup 2016-04-14 20:00:04 +02:00
Jakub Valtar
061c97fe95 ECS: better comment and string scrubbing 2016-04-11 17:22:12 +02:00
Jakub Valtar
dba261695d ECS: code check improvements 2016-04-11 03:54:12 +02:00
Jakub Valtar
0857e1fe76 ECS: SourceMapping cleanup 2016-04-11 03:53:44 +02:00
Jakub Valtar
70b5e4824f ECS: remove ASTNodeWrapper and old offset mapping 2016-04-11 03:52:39 +02:00
Jakub Valtar
ec68e7cb71 ECS: Better import suggestions 2016-04-08 10:13:57 +02:00
Jakub Valtar
1dab577fa8 ECS: move import suggestion code to ECS 2016-04-08 09:39:13 +02:00
Jakub Valtar
66c901d5c7 ECS: import suggestions
- search classpath should be different than sketch classpath (WIP)
- looks for inner classes
- looks for each class only once and reuses the result
2016-04-08 09:39:13 +02:00
Jakub Valtar
3b6b0c1647 ECS: Improve package resolution 2016-04-08 09:39:13 +02:00
Jakub Valtar
2a27edabf1 ECS: prevent NPE when missing a library 2016-04-08 09:39:13 +02:00
Jakub Valtar
761a9aba86 ECS: get rid of broken overlap check 2016-04-08 09:39:13 +02:00
Jakub Valtar
2da307c04f ECS: clean unused comparators 2016-04-08 09:39:13 +02:00
Jakub Valtar
02d9dcef45 ECS: fix error mapping 2016-04-08 09:39:13 +02:00
Jakub Valtar
cc6752c262 ECS: Group all related info into result object 2016-04-08 09:39:13 +02:00
Jakub Valtar
ac7c95a290 ECS: Fix applied check in SourceMapping 2016-04-08 09:39:13 +02:00
Jakub Valtar
017e0fbae0 ECS: fix typo 2016-04-08 09:39:13 +02:00
Jakub Valtar
eea5e29202 ECS: Scrub string literals too 2016-04-08 09:39:13 +02:00
Jakub Valtar
3ff7370841 ECS: New preprocessing pipeline (breaking)
Breaks ASTGenerator and offset mapping everywhere
2016-04-08 09:39:13 +02:00
Jakub Valtar
ce7d93d711 Minor changes to PdePreprocessor
- Remove redundant static modifier in front of Mode
- Let some methods accept CharSequence instead of String (can be used
with both String and StringBuilder)
2016-04-08 09:39:13 +02:00
Jakub Valtar
a6511af39d ASTGen: better handling of AST update 2016-04-08 09:39:13 +02:00
Jakub Valtar
91fa5630fb ECS: make mode local 2016-04-08 09:39:13 +02:00
Jakub Valtar
20cfb5d533 ASTGen: shuffle things around 2016-04-08 09:39:13 +02:00
Jakub Valtar
2ef0a45d97 ASTGen: get rid of unused import suggestion code 2016-04-08 09:39:13 +02:00
Jakub Valtar
8232c2db00 ASTGen: move GUI code to one place 2016-04-08 09:39:13 +02:00
Jakub Valtar
2ec83bd2f7 ASTGen: Rename gui components 2016-04-08 09:39:13 +02:00
Jakub Valtar
8a45a76b71 ASTGen: move debug code aside 2016-04-08 09:39:13 +02:00
Ben Fry
7566b7581f Merge pull request #4390 from JakubValtar/cleanup
JavaMode cleanup
2016-04-06 21:26:45 -07:00
Jakub Valtar
52c58af7e8 Minor JavaEditor cleanup 2016-04-04 22:31:39 +02:00
Jakub Valtar
1aa98c59d8 Remove Line & Gutter Color support 2016-04-04 22:31:38 +02:00
Jakub Valtar
c21ffbefde Minor clean up of JavaTextArea 2016-04-04 22:31:37 +02:00
Jakub Valtar
6d2f4e9804 Clean up the listener madness in JavaTextArea 2016-04-04 22:31:36 +02:00
Jakub Valtar
b9309f47e3 Remove some ASTGenerator dependencies 2016-04-04 22:31:35 +02:00
Jakub Valtar
719a4457ce Remove useless SwingWorkers
-listeners already run on EDT
2016-04-04 22:31:34 +02:00
Jakub Valtar
8be49dc5d0 Remove dependencies on Error Checker Service 2016-04-04 22:31:11 +02:00
Jakub Valtar
8cae611554 Update JDT to 4.5.2 2016-04-04 20:12:38 +02:00
Jakub Valtar
dd8698427c Update app to Java 8 2016-04-02 23:17:25 +02:00
Ben Fry
c8fc1fb72f Merge pull request #4325 from qiubit/bugfix-errorPoints-v2
Move updateErrorPoints background work to UI thread
2016-03-06 13:49:26 -05:00
codeanticode
d4d86d4ac1 add createPreprocessor() to JavaEditor, so it can be overriden in the
editor of other modes
2016-03-03 01:04:39 -05:00
Pawel Golinski
749a4f287a Use normal ArrayList instead of synchronizedList for errorPoints 2016-02-24 13:55:30 +01:00
Pawel Golinski
68aa116c0b Move updateErrorPoints background work to UI thread 2016-02-23 14:55:38 +01:00
Manindra Moharana
d3a0e98fd3 fixed bug in parsing imports with auto completion 2016-02-15 01:55:57 -08:00