A BSD licensed code completion engine is now available for Delphi XE8 Firemonkey. One of the core functionalities that is useful to have when building a code editor or IDE is code completion. Code completion (otherwise known as Code Insight or Intellisense by Microsoft) is the popup hint window that comes up after you press . or ( when writing Object Pascal code. It gives you a list of properties, methods, or parameters that the current class or method supports. This makes it easier and faster to build software because the hints show you exactly what you can do while you are trying to do it. This code completion engine was built for me by a developer in Belarus via UpWork. It uses a number of third party libraries to make it happen including Delphi AST, JsonDataObjects, OXml, SvCollections.Tries, and TTMSFMXMemo. The TTMSFMXMemo component (part of a commercial library) provides the syntax highlighting and the hint window. Delphi AST provides the parsing of the Object Pascal files, OXml provides fast parsing of the syntax tree, JsonDataObjects provides a super fast JSON storage and retrieval mechanism, and SvCollections.Tries provides a object for fast lookups of the data. The engine should run on Android, IOS, OSX, and Windows. I have compiled it for all platforms but only tested it on OSX and Windows. You should also be able to use this engine in Appmethod. Full source code and a sample application demoing the engine are available via Github.
Code Completion Engine Source Code For #Delphi XE8 Firemonkey On Windows And OSX by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.