Commit Graph
29 Commits
Author SHA1 Message Date
chrisly42 128330d2c7 Added Structure View filters for Symbols, Macros and Labels. 2021-07-30 15:25:48 +02:00
chrisly42 25450a9bf8 Macro definitions are now word and indexed, macro calls reference to definition.
Macro definition refactoring and find usages support.
Structural View also shows macro definitions.
Missing REPT and ENDR assembler directives added.
Changed or added some icons at various places.
Reference search for global labels and symbols now uses stub index.
2021-07-27 16:34:49 +02:00
chrisly42 6e683eb6a0 Started working on macro support. Macro-Definition are now plain, unparsed lines. Added Syntax-Highlighter options. 2021-07-27 12:42:26 +02:00
chrisly42 9553da6a1c Minor fix for ExpressionsTest. 2021-07-26 20:02:20 +02:00
chrisly42 5ffffb5680 Added M68kGlobalLabelSymbolCompletionContributor to replace variants returned by M68kGlobalLabelSymbolReference, to have more control over resolution. Contributor also adds registers to code completion. Code tidying. 2021-07-26 19:52:48 +02:00
chrisly42 ad3b207362 Added missing test for comparing expressions. Deleted unused generated file for Label-Implementation, noticed problem in inheritance hierarchy and removed base interface M68kLabel, too. 2021-07-26 14:13:12 +02:00
chrisly42 82feb8c43c Fixed syntax error for files ending on non-empty line 2021-07-26 10:59:40 +02:00
chrisly42 3165d99fc2 Changed LookupUtil to use stub indexes instead of iterating over global labels and symbol definitions. Added basic test for Structure View. 2021-07-26 10:50:22 +02:00
chrisly42 9a37b9c569 Added separate syntax highlighting for stack pointer vs. normal address registers. 2021-07-20 11:02:11 +02:00
chrisly42 c00a403638 Added support for referencing / refactoring of global variables and symbols. Added getPresentation() for structural view, but does not seem to be working yet. Also Find Usages still reports "Unclassified" :-/ 2021-07-20 10:31:50 +02:00
chrisly42 b966623765 Fixed tests. 2021-07-19 13:35:45 +02:00
chrisly42 66fa728a45 Added local label reference (not final yet), but referencing kind of works. 2021-07-19 12:08:47 +02:00
chrisly42 25c755d729 Reworked BNF for symbol references and program counter. Enhanced syntax highlighting. Continued work on referencing (not yet working). Fixed renaming of Labels and Symbols. Added M68kRenameInputValidator for correct renaming of symbols and labels (allow local labels with dot or dollar). Added UsagesProvider (not sure if working). Added PairedBraceMatcher. 2021-07-18 15:05:59 +02:00
chrisly42 349372f6b3 Added M68kLexerPrefs (preliminary). Added support for optional space-introducing comments. 2021-07-17 16:49:50 +02:00
chrisly42 618a4eee01 Minor test extension. 2021-07-17 12:51:55 +02:00
chrisly42 63c38f68c3 Reworked label handling: Colons are no longer part of the label definition itself. Added PsiNamedElement for Labels. 2021-07-17 10:18:36 +02:00
chrisly42 9ebc93fd15 Added Mnemonics auto-completion. 2021-07-16 15:23:30 +02:00
chrisly42 d53a1fbac8 Nosfe also likes to place assignments with colons. Fixed assignment symbol detection (again :-/). 2021-07-16 14:13:29 +02:00
chrisly42 213150e51f Nosfe likes unquoted file paths with backslashes in include statements :-( 2021-07-16 12:20:36 +02:00
chrisly42 84104c86cd Added support for single = as comparison in expressions. 2021-07-16 12:01:39 +02:00
chrisly42 99ba1014e1 Similar enhanced expression parser asm-ops. 2021-07-16 10:38:58 +02:00
chrisly42 b7f655745b Enhanced expression parser for PC relative symbol and modulo handling and bitwise or. 2021-07-16 10:03:33 +02:00
chrisly42 e33470ea1a Split up opsizes for better syntax highlighting. Fixed bug in macro-call lexer. 2021-07-15 23:03:31 +02:00
chrisly42 beea9b2763 Added macro call. Extended syntax highlighting. 2021-07-15 22:15:22 +02:00
chrisly42 aa14984a8e Made AsmOperands private. Added support for generic assembler directives. Bugfixes. Added more Tests. 2021-07-15 21:00:12 +02:00
chrisly42 f482948abe Added first version of Syntax Highlighting. Commented out some tokens. 2021-07-15 16:40:17 +02:00
chrisly42 03c11ecef9 Fixed addressing modes. Added missing generated class, removed unused one. 2021-07-15 12:45:57 +02:00
chrisly42 2fe70deee2 Added first tests, improved BNF and Lexer. Fixed extra space in assignment symbol. 2021-07-15 12:04:05 +02:00
chrisly42 1dc418ae84 Added JUnit5 framework. 2021-07-15 10:44:03 +02:00