Commit Graph

418 Commits

Author SHA1 Message Date
mattias
f4c1725bcd codetools: added InsertStatements
git-svn-id: trunk@47837 -
2015-02-16 21:52:05 +00:00
mattias
400a28bb34 codetools: started GetPossibleInitsForVariable
git-svn-id: trunk@47829 -
2015-02-16 18:19:38 +00:00
mattias
9ddf3d4196 codetools: FindAbstractMethods: search class interfaces
git-svn-id: trunk@45593 -
2014-06-21 15:35:46 +00:00
mattias
a98eb2b2f4 codetools: named CTTemplateExpander
git-svn-id: trunk@45467 -
2014-06-10 17:11:32 +00:00
mattias
ee966ac457 codetools: CreateVariableForIdentifier: give error message if syntax not supported
git-svn-id: trunk@45341 -
2014-06-04 19:20:42 +00:00
juha
1749b9b22a Fix typo. Emtpy -> Empty
git-svn-id: trunk@43503 -
2013-11-30 09:56:58 +00:00
mattias
7538f3a4e4 codetools: fixed checking if a proc header has already a classname, when there are tabs
git-svn-id: trunk@42750 -
2013-09-12 09:45:57 +00:00
mattias
a1d47beded codetools: shrinked scan ranges from lsrEnd to lsrInitializationStart where possible
git-svn-id: trunk@42202 -
2013-07-25 12:49:04 +00:00
mattias
e6e42e5f83 codetools: disabled complete code templates until a compatible solution is implemented
git-svn-id: trunk@42179 -
2013-07-23 07:04:44 +00:00
mattias
e02c8ef2c8 codetools: started ability to load code completion snippets from an xml files, thanks to Don Ziesig, patch #15922
git-svn-id: trunk@42177 -
2013-07-22 22:08:53 +00:00
juha
a90ea22ce0 Codetools: formatting
git-svn-id: trunk@41965 -
2013-07-02 12:56:54 +00:00
juha
0c732a1c4c Converter: Cleanup. Get rid of an excess variable.
git-svn-id: trunk@41959 -
2013-07-01 23:33:00 +00:00
juha
1182ff0df2 Converter: Add variables in class when components (like menu item) are only in LFM. Changed also CheckLFM. Issue #24473.
git-svn-id: trunk@41948 -
2013-06-30 22:05:56 +00:00
mattias
3796042759 codetools: code completion: started option to not update signatures if only case changed
git-svn-id: trunk@41909 -
2013-06-26 15:03:37 +00:00
mattias
32c3033b75 codetools: clear cursornode
git-svn-id: trunk@41902 -
2013-06-26 07:40:29 +00:00
mattias
e85d92f195 codetools: clean up
git-svn-id: trunk@41898 -
2013-06-25 15:52:28 +00:00
mattias
7f9fbd0a68 IDE: unit deps: fixed popup menu
git-svn-id: trunk@41897 -
2013-06-25 15:51:58 +00:00
mattias
7397ad3c22 codetools: completecode: update proc signatures, IDE: options to disable updating multiple signatures
git-svn-id: trunk@41881 -
2013-06-25 08:34:20 +00:00
mattias
7d34128f78 codetools: fixed class completion for properties with constant index
git-svn-id: trunk@41864 -
2013-06-24 12:06:05 +00:00
mattias
5dbf82dd16 codetools: fixed complete proc from statement
git-svn-id: trunk@41087 -
2013-05-09 11:24:39 +00:00
mattias
f08c4e6329 codetools: identifier completion: do not add unit name if identifier is in same unit
git-svn-id: trunk@41080 -
2013-05-08 18:56:17 +00:00
juha
32b591a40e CodeTools: Complete local var with full qualification if type name conflicts. Issue #17777, patch from Anton
git-svn-id: trunk@40992 -
2013-05-02 09:11:10 +00:00
juha
44737bf779 Codetools: Do not touch {$R *.lfm} during automatical code creation. Issue #22497, patch from Anton
git-svn-id: trunk@40910 -
2013-04-28 16:29:56 +00:00
mattias
f47d8f4577 codetools: code completion: use GetLineIndent of beautifier
git-svn-id: trunk@40821 -
2013-04-15 10:07:23 +00:00
mattias
f1b6abfac5 codetools: stdcodetools: use GetIndentStr of beautifier
git-svn-id: trunk@40820 -
2013-04-15 09:58:00 +00:00
mattias
e9156f83de codetools: gather identifiers: use tool beautifier
git-svn-id: trunk@40816 -
2013-04-15 09:14:12 +00:00
mattias
5ee76dbc83 codetools: code completion: use GetIndentStr of beautifier
git-svn-id: trunk@40814 -
2013-04-15 09:04:37 +00:00
mattias
ea88f1f9bd codetools: fixed class completion and method jumping for generic methods in delphi mode, bug #23496
git-svn-id: trunk@40454 -
2013-03-01 19:47:22 +00:00
mattias
d01310dc89 codetools: class completion: comparing beautified method signatures
git-svn-id: trunk@40186 -
2013-02-04 22:53:35 +00:00
mattias
9ccfb913a3 codetools: added debugging to UpdateProcBodySignatures
git-svn-id: trunk@40185 -
2013-02-04 22:43:32 +00:00
mattias
e9f840669c codetools: TFindDeclarationTool.CheckParameterSyntax: check comments
git-svn-id: trunk@39956 -
2013-01-24 19:39:25 +00:00
mattias
583ff30428 codetools: class completion: update method body signatures changes in case, bug #23710
git-svn-id: trunk@39928 -
2013-01-21 16:12:24 +00:00
mattias
41c820b6e0 codetools: class property completion: do not add static keyword to body, bug #23262
git-svn-id: trunk@39581 -
2012-12-18 13:26:24 +00:00
mattias
cd0e0c8f2e codetools: clean up
git-svn-id: trunk@39128 -
2012-10-18 12:00:28 +00:00
mattias
0c0a7fb0de IDE: code completion: show message when nothing was done
git-svn-id: trunk@38550 -
2012-09-07 07:10:47 +00:00
mattias
d21465be10 codetools: started skipping codetools skip comments
git-svn-id: trunk@38190 -
2012-08-06 22:37:08 +00:00
mattias
07e2022646 codetools: forward proc completion: stay in same section
git-svn-id: trunk@37690 -
2012-06-19 11:24:17 +00:00
mattias
9cd168b8fe codetools: fixed inserting proc bodies in implementation in front of methods
git-svn-id: trunk@37644 -
2012-06-14 12:53:22 +00:00
mattias
65ea827862 codetools: class completion: add static method specifier for class property setter
git-svn-id: trunk@37636 -
2012-06-13 14:53:28 +00:00
mattias
b6a92e67e4 codetools: class completion: add static method modifier for setter of class property
git-svn-id: trunk@37633 -
2012-06-12 16:26:06 +00:00
mattias
59cc5ead15 codetools: fixed adding class keyword for property setter of a class property
git-svn-id: trunk@37629 -
2012-06-11 21:53:51 +00:00
mattias
2b6a6b48bd codetools: class completion: fixed searching var node when first is class var
git-svn-id: trunk@37626 -
2012-06-11 19:16:11 +00:00
mattias
dce69caec1 codetools: class completion: fixed searching var node when first is class var
git-svn-id: trunk@37625 -
2012-06-11 19:03:56 +00:00
mattias
b172a9eace codetools: property completion: add class var for class property variables
git-svn-id: trunk@37613 -
2012-06-11 07:43:16 +00:00
mattias
c5a967874a codetools: fixed Unneeded extra space in event assignment completion
git-svn-id: trunk@37594 -
2012-06-08 17:00:13 +00:00
mattias
855af79e42 codetools: do not save errors outside parser
git-svn-id: trunk@37213 -
2012-05-07 16:04:57 +00:00
mattias
de2d6487a9 codetools: AddLocalVar: do not add hidden used unit
git-svn-id: trunk@36906 -
2012-04-19 10:52:37 +00:00
mattias
4693905f72 codetools: class completion: fixed gathr proc definitions
git-svn-id: trunk@36889 -
2012-04-17 21:37:06 +00:00
mattias
065b887ee3 codetools: fixed crash in TCodeCompletionCodeTool.AddProcedureCompatibleToProcType, bug #21271
git-svn-id: trunk@35951 -
2012-03-13 23:01:54 +00:00
mattias
9f12b07c98 codetools: clean up
git-svn-id: trunk@35949 -
2012-03-13 22:59:32 +00:00
mattias
90b6d3e812 codetools: complete event assignment: procs: calling specs
git-svn-id: trunk@35539 -
2012-02-21 15:53:49 +00:00
mattias
90f9933ecb codetools: complete event assignment: procs
git-svn-id: trunk@35538 -
2012-02-21 15:31:30 +00:00
mattias
af96f00a7e codetools: fixed typo
git-svn-id: trunk@35439 -
2012-02-18 13:54:38 +00:00
mattias
f1895195e3 codetools: class completion: fixed updating tree after changing signature
git-svn-id: trunk@35350 -
2012-02-13 09:48:34 +00:00
mattias
8e3577e6aa cody: fixed uninitialized result
git-svn-id: trunk@35302 -
2012-02-11 13:36:24 +00:00
mattias
a75682c8b5 codetools: fixed finding insert pos for proc bodies
git-svn-id: trunk@35021 -
2012-01-29 15:37:48 +00:00
mattias
94a7b49657 codetools: class completion: auto create implementation section
git-svn-id: trunk@34995 -
2012-01-28 17:37:30 +00:00
mattias
9b58ff9e5a codetools: class completion: nicer output on redefinition
git-svn-id: trunk@34994 -
2012-01-28 17:25:12 +00:00
mattias
325e87fb8e codetools: fixed MoveCursorToFirstProcSpecifier parsing operator
git-svn-id: trunk@34993 -
2012-01-28 17:18:50 +00:00
mattias
a6d962b329 codetools: code completion: update method body to definition: beautify
git-svn-id: trunk@34965 -
2012-01-26 22:46:24 +00:00
mattias
9b706b641d codetools: code completion: method body to definition: update definition
git-svn-id: trunk@34964 -
2012-01-26 22:43:04 +00:00
mattias
ebb35c4a27 codetools: class completion: update multiple body signatures
git-svn-id: trunk@34939 -
2012-01-25 19:15:24 +00:00
mattias
0bde955013 synedit: less debugging
git-svn-id: trunk@34938 -
2012-01-25 16:58:54 +00:00
mattias
f3bb1379a4 codetools: made CheckForChangedProcs a method of its own
git-svn-id: trunk@34922 -
2012-01-25 13:50:40 +00:00
mattias
bce270836b codetools: FindEndOfExpression: parse inherited
git-svn-id: trunk@34919 -
2012-01-25 13:07:36 +00:00
mattias
c7c01c9ffd codetools: param completion: skip comments
git-svn-id: trunk@34866 -
2012-01-22 14:02:26 +00:00
mattias
984566c793 codetools: CompleteLocalVariableByParameter: resolve point for case A.B()
git-svn-id: trunk@34736 -
2012-01-14 16:25:17 +00:00
mattias
e2645d1407 codetools: identifier in parameter completion: procedures
git-svn-id: trunk@34725 -
2012-01-13 17:23:07 +00:00
mattias
5010a42914 codetools: complete parameter: methods
git-svn-id: trunk@34723 -
2012-01-13 00:25:26 +00:00
mattias
b04cef83d2 codetools: complete event assignment: refactored for reuse
git-svn-id: trunk@34721 -
2012-01-12 23:39:46 +00:00
mattias
1c8d8b843e codetools: resolve sub identifier in type definition: search forward too
git-svn-id: trunk@34720 -
2012-01-12 23:12:01 +00:00
mattias
724765c335 codetools: param completion for @pointertype
git-svn-id: trunk@34714 -
2012-01-12 14:10:11 +00:00
mattias
eae537252c codetools: param completion: extend uses section
git-svn-id: trunk@34711 -
2012-01-11 15:37:19 +00:00
mattias
7bd71b2eab codetools: class completion: fixed indentation of bodies
git-svn-id: trunk@34173 -
2011-12-14 09:41:38 +00:00
mattias
844c2556c5 codetools: class completion: checking for ancestor: fixed tool
git-svn-id: trunk@34019 -
2011-12-07 09:25:29 +00:00
mattias
b940e9e6a6 codetools: class completion: fixed checking if ancestor method is proc
git-svn-id: trunk@33985 -
2011-12-05 23:30:24 +00:00
mattias
123e380712 codetools: fixed crash in class completion searching ancestor
git-svn-id: trunk@33984 -
2011-12-05 23:28:12 +00:00
juha
cafb155a02 Codetools: Improve code completion for methods overriding an abstract base method.
git-svn-id: trunk@33983 -
2011-12-05 22:17:00 +00:00
juha
a1d1d88896 Codetools: Fix a problem with event handler generation caused by r33955 #ce5458acf2. Issue #20813
git-svn-id: trunk@33964 -
2011-12-04 23:25:46 +00:00
juha
ce5458acf2 Codetools: In Class Completion, don't call "Inherited" for overridden abstract methods. Issue #17677 (& duplicates)
git-svn-id: trunk@33955 -
2011-12-04 16:44:55 +00:00
juha
6012289532 Codetools: formatting
git-svn-id: trunk@33954 -
2011-12-04 16:44:42 +00:00
mattias
08900f28d7 codetools: moved TCodeXYPosition from CodeAtom to CodeCache
git-svn-id: trunk@33220 -
2011-11-02 14:26:05 +00:00
mattias
ae67ba05c7 codetools: fixed initial search flags for local var completion
git-svn-id: trunk@32467 -
2011-09-23 09:30:06 +00:00
mattias
0ed375aea1 codetools: local var assignment completion: operator assignments += -= *= /*, feature 20282
git-svn-id: trunk@32397 -
2011-09-18 10:17:42 +00:00
mattias
bbf2217ed8 codetools: fixed context of FindTermTypeAsString, bug #20255
git-svn-id: trunk@32353 -
2011-09-15 15:22:45 +00:00
mattias
684ea95b51 codetools: deprecated GetUnitNameForUsesSection
git-svn-id: trunk@32108 -
2011-08-30 09:28:53 +00:00
juha
21904840d4 Codetools: Fix to CodeCompletion when adding units for method parameters. Issue #18992, patch from Anton
git-svn-id: trunk@31946 -
2011-08-11 17:15:49 +00:00
juha
d827e28a93 Codetools: Fix code completion for "stored" functions. Issue #19835, patch from Anton
git-svn-id: trunk@31905 -
2011-08-06 21:25:22 +00:00
mattias
c82d807457 codetools: property completion: do not add const in setter
git-svn-id: trunk@31698 -
2011-07-14 09:17:18 +00:00
mattias
9fb8ba331a codetools: fixed TCodeCompletionCodeTool.DeclareVariableNearBy class members
git-svn-id: trunk@31275 -
2011-06-18 23:05:11 +00:00
mattias
cf818de9f4 codetools: FindLineEndOrCodeAfterPosition: fixed parsing (* comments
git-svn-id: trunk@31134 -
2011-06-08 08:17:39 +00:00
mattias
40015048ed codetools: fixed crash
git-svn-id: trunk@30943 -
2011-05-27 21:38:02 +00:00
mattias
0642328271 codetools: class completion: update method bodies if all signatures fit
git-svn-id: trunk@30942 -
2011-05-27 21:13:15 +00:00
mattias
b87cbc31f1 cody: declare var
git-svn-id: trunk@30934 -
2011-05-27 17:24:02 +00:00
mattias
4ef2e5bc3e codetools: AddLocalVariable: fixed reusing var section
git-svn-id: trunk@30923 -
2011-05-27 07:14:27 +00:00
mattias
4e3bb381e3 codetools: AddVariable: interface and implementation
git-svn-id: trunk@30898 -
2011-05-25 15:49:27 +00:00
mattias
bba64bdf3c codetools: GuessTypeOfIdentifier: guess type of for-in
git-svn-id: trunk@30893 -
2011-05-24 21:55:20 +00:00
mattias
3ce75c3558 codetools: AddLocalVariable: insert in front of MaxPos
git-svn-id: trunk@30892 -
2011-05-24 21:42:15 +00:00
mattias
905af7d78c codetools: GuessTypeOfIdentifier: remove contexts conflicting with already defined identifier
git-svn-id: trunk@30881 -
2011-05-23 22:55:29 +00:00
mattias
2932b7395a codetools: started checking existing definitions with possible
git-svn-id: trunk@30879 -
2011-05-23 22:11:16 +00:00