Commit Graph

888 Commits

Author SHA1 Message Date
mattias
341a3f7a74 codetools: fixed TFindDeclarationTool.FindUnitReferences search in uses section, bug #38559
git-svn-id: trunk@64704 -
2021-02-28 23:34:09 +00:00
mattias
9baf8fe81d codetools: fixed GetSmartHint other unit
git-svn-id: trunk@64603 -
2021-02-17 13:59:24 +00:00
juha
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +00:00
juha
4733d3b7a1 Fix compilation with FPC 3.0.4.
git-svn-id: trunk@64498 -
2021-02-05 20:07:12 +00:00
juha
0feb7a5662 Codetools, Debugger: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64465 -
2021-02-05 11:28:11 +00:00
pascal
da8c2d75b5 codetools: generate local var for Length() with type SizeInt
git-svn-id: trunk@63800 -
2020-08-21 07:43:13 +00:00
pascal
4787a58f27 codetools: fixed identifier completion in or behind empty string. Issue #26964
git-svn-id: trunk@63798 -
2020-08-20 11:41:33 +00:00
mattias
c64cd287c5 codetools: var completion of for-var-in-genericarray, from Pascal Riekenberg, issue #37076
git-svn-id: trunk@63160 -
2020-05-15 09:37:49 +00:00
mattias
36e7acabf5 codetools: fixed AV
git-svn-id: trunk@63138 -
2020-05-12 17:19:27 +00:00
mattias
797768a965 codetools: code completion for "FOR var IN" with generic class, from Pascal Riekenberg
git-svn-id: trunk@63136 -
2020-05-12 16:47:24 +00:00
juha
de408de69e Codetools: Support ArrayToDynArray and other missing modeswitches. Issue #36796.
git-svn-id: trunk@62768 -
2020-03-15 17:55:43 +00:00
ondrej
08b5b4a244 CodeTools: support {$modeswitch multihelpers}. Issue #35911
git-svn-id: trunk@62702 -
2020-03-07 17:03:21 +00:00
juha
29d750ae6a Codetools: Support Codecompletion inside "with begin end" block. May fix other cases, too. Issue #0023782, patch from jefferywa.
git-svn-id: trunk@62470 -
2019-12-30 13:59:12 +00:00
ondrej
86a7065f15 CodeTools: declare for-in variable for interfaces. Issue #35290
git-svn-id: trunk@62239 -
2019-11-15 19:21:40 +00:00
juha
1ff30d6bfd Codetools: Add unit names correctly to project source. Issue #35803.
git-svn-id: trunk@62169 -
2019-11-03 16:45:48 +00:00
juha
45446f15b8 Formatting
git-svn-id: trunk@62168 -
2019-11-03 16:45:42 +00:00
mattias
79aa478b8d codetools: fixed find declaration multidim[,].sub
git-svn-id: trunk@61962 -
2019-10-03 14:35:55 +00:00
mattias
aab3418c8c codetools: fixed objcclass
git-svn-id: trunk@60629 -
2019-03-09 12:12:10 +00:00
juha
c9e4614e17 Delete old deprecated methods.
git-svn-id: trunk@59175 -
2018-09-28 11:06:40 +00:00
mattias
f2f7e9c993 codetools: debug obcclass alloc.init
git-svn-id: trunk@57652 -
2018-04-13 08:35:14 +00:00
mattias
01020fb1c1 codetools: debug FindFileAtCursor
git-svn-id: trunk@56729 -
2017-12-14 18:03:28 +00:00
mattias
5b565ad568 codetools: parse guid in dispinterface, bug #32742
git-svn-id: trunk@56520 -
2017-11-28 09:19:47 +00:00
mattias
2b911c68c1 codetools: FindCodeContext of attribute params
git-svn-id: trunk@56513 -
2017-11-27 21:29:04 +00:00
mattias
727afc4dbd codetools: changed TAtomRing to support longer ring, full two way
git-svn-id: trunk@56465 -
2017-11-22 10:58:30 +00:00
juha
55d8b5ed1a Codetools: Find declaration for a used unit also when caret is at its end. Issue #32606.
git-svn-id: trunk@56366 -
2017-11-11 16:06:39 +00:00
mattias
49e39f4de3 codetools: formatted
git-svn-id: trunk@56276 -
2017-11-04 07:55:39 +00:00
mattias
61d4aa8258 IDE: open file at cursor: show error message on fail
git-svn-id: trunk@56083 -
2017-10-16 14:06:41 +00:00
mattias
8961126033 codetools: added ctnSrcName
git-svn-id: trunk@55951 -
2017-09-30 19:20:56 +00:00
mattias
4cee79f31d codetools: fixed skipping sourcename, added TPascalParserTool.FindUsesNode
git-svn-id: trunk@55946 -
2017-09-30 13:52:10 +00:00
mattias
bfadc91c3c codetools: find declaration of dotted program name
git-svn-id: trunk@55851 -
2017-09-13 18:05:15 +00:00
mattias
b3a9a3d9ce codetools: guess type of default()
git-svn-id: trunk@55331 -
2017-06-12 10:39:42 +00:00
ondrej
8ada97e2b2 codetools: Override function result string types: fix grouped parameter list (e.g. ChangeFileExt).
git-svn-id: trunk@55322 -
2017-06-11 21:21:21 +00:00
mattias
548fbd4852 codetools: added TFindDeclarationTool.FindClassMember
git-svn-id: trunk@55238 -
2017-06-05 13:29:16 +00:00
mattias
eca0a51b27 codetools: undo
git-svn-id: trunk@55236 -
2017-06-05 13:28:15 +00:00
mattias
12ad990c7b codetools: less hints methodjumptool.pas
git-svn-id: trunk@55235 -
2017-06-05 13:25:37 +00:00
juha
e27232d4cc Fix uninitialized variables based on compiler warnings got with dfa (data flow analysis) enabled.
git-svn-id: trunk@55211 -
2017-06-04 15:14:29 +00:00
ondrej
3ec399d85a CodeTools: add "Avoid unnecessary jumps" option, make it default.
git-svn-id: trunk@55031 -
2017-05-21 18:14:51 +00:00
ondrej
a5c8984ec7 CodeTools: center jumps with a percent value. Add settings for code block jump as well.
git-svn-id: trunk@55030 -
2017-05-21 13:26:38 +00:00
ondrej
2e5a01d509 codetools: fix potential endless loop
git-svn-id: trunk@54983 -
2017-05-18 22:54:41 +00:00
ondrej
1c25a7e012 codetools: Override function result string types: fix: the function definition parameter type must be string, not the value expression
git-svn-id: trunk@54982 -
2017-05-18 22:29:59 +00:00
ondrej
1079fcdcbc codetools: simplify r54976 #a52a5d0607
git-svn-id: trunk@54979 -
2017-05-18 20:56:17 +00:00
ondrej
7f78bf4c33 codetools: support UnicodeString in TFindDeclarationTool.FindExprTypeAsString
git-svn-id: trunk@54977 -
2017-05-18 20:35:27 +00:00
ondrej
a52a5d0607 codetools: implement 'Override function result string types with the first parameter expression type' code creation feature
git-svn-id: trunk@54976 -
2017-05-18 20:08:13 +00:00
mattias
878dfd23f9 codetools: added predefined fpc identifier get_frame
git-svn-id: trunk@54859 -
2017-05-10 15:48:45 +00:00
mattias
09d0b3fa93 codetools: parsing modeswitch on,off
git-svn-id: trunk@54836 -
2017-05-08 18:43:04 +00:00
mattias
7518ea353a codetools: fixed guesstype of copy()
git-svn-id: trunk@54821 -
2017-05-07 09:13:40 +00:00
mattias
aa5717bb55 codetools: search units with namespaces
git-svn-id: trunk@54745 -
2017-04-26 18:36:04 +00:00
mattias
af09292110 codetools: identifier completion: list each namespace only once
git-svn-id: trunk@54740 -
2017-04-26 10:08:12 +00:00
mattias
18296584ed codetools:
- dotted unit name in term: find longest match
- dotted unit name: fixed searching in interface only interface uses section
- identifier completion: fixed list unit sub identifiers when there are longer namespaces
- identifier completion: list all name used namespaces

git-svn-id: trunk@54737 -
2017-04-26 09:55:09 +00:00
ondrej
35aaed1cd7 CodeTools: no IFDEFs for r54731 #532ce029d5
git-svn-id: trunk@54734 -
2017-04-25 10:50:58 +00:00