[Lazarus] Feature request: Support Java classes syntax in code tools

Michael Van Canneyt michael at freepascal.org
Tue Mar 10 19:45:29 CET 2015



On Tue, 10 Mar 2015, Mattias Gaertner wrote:

> On Sun, 8 Mar 2015 19:08:23 +0100 (CET)
> Michael Van Canneyt <michael at freepascal.org> wrote:
>
>> [...]
>> The codetools cannot handle the jvm extensions.
>> As a result, as soon as you include e.g. the androidr14 unit, code completion just stops working.
>
> It works here.
> What error do you get?

The following:

### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "illegal qualifier . found" at Line=51 Col=8 in "/data/source/android/skeletonapp/src/skeletonapp.pas"
### TCodeToolManager.HandleException: "illegal qualifier . found" at Line=51 Col=8 in "/data/source/android/skeletonapp/src/skeletonapp.pas"
### TCodeToolManager.HandleException: "illegal qualifier . found" at Line=51 Col=8 in "/data/source/android/skeletonapp/src/skeletonapp.pas"
### TCodeToolManager.HandleException: "illegal qualifier . found" at Line=51 Col=8 in "/data/source/android/skeletonapp/src/skeletonapp.pas"
### TCodeToolManager.HandleException: "illegal qualifier . found" at Line=51 Col=8 in "/data/source/android/skeletonapp/src/skeletonapp.pas"
### TCodeToolManager.HandleException: "illegal qualifier . found" at Line=51 Col=8 in "/data/source/android/skeletonapp/src/skeletonapp.pas"
### TCodeToolManager.HandleException: "illegal qualifier . found" at Line=51 Col=8 in "/data/source/android/skeletonapp/src/skeletonapp.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: "expected :, but 'java.lang' found" at Line=11753 Col=35 in "/home/michael/fpc/rtl/android/jvm/androidr14.pas"

If you want, I can send the application I was developing.

Michael.




More information about the Lazarus mailing list