Bob: Hello - good to hear from you.
I hit the same issue when working with that very same version. The only thing I could do to "fix" the problem was to uncheck the three checkboxes in Preferences/Options/Suggestions, click OK to save the changes and then reset the checkboxes. Re. constants - a lot of developers use 4D Pop from the 4D website. We still can't create constants using the server so I just update the file by hand. Below is a stub of the file. In BBEdit, I save it as an XML file, UTF-8 Unicode file with BOM using Windows (CRLF). <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <xliff version="1.0" xmlns:d4="http://www.4d.com/d4-ns"> <file datatype="x-4DK#" original="x-undefined" source-language="x-none" target-language="x-none"> <header> <prop-group name="4DPop Constant editor"> <prop prop-type="version">13.2 (30)</prop> </prop-group> </header> <body> <!--groups' labels--> <group resname="themes"> <trans-unit id="thm_1" resname="__Contact_Type" translate="no"> <source>__Contact_Type</source> </trans-unit> <trans-unit id="thm_2" resname="__Query" translate="no"> <source>__Query</source> </trans-unit> </group> <!--constants--> <group d4:groupName="__Contact_Type" restype="x-4DK#"> <trans-unit d4:value="Administrative" id="k_1"> <source>CONTACTTYPE_Administrative</source> </trans-unit> <trans-unit d4:value="Equipment" id="k_2"> <source>CONTACTTYPE_Equipment</source> </trans-unit> <trans-unit d4:value="Primary" id="k_3"> <source>CONTACTTYPE_Primary</source> </trans-unit> <trans-unit d4:value="Mechanical" id="k_4"> <source>CONTACTTYPE_Mechanical</source> </trans-unit> </group> <group d4:groupName="__Query" restype="x-4DK#"> <trans-unit d4:value="Query_Selection" id="k_5"> <source>QUERY_Selection</source> </trans-unit> <trans-unit d4:value="Query_Table" id="k_6"> <source>QUERY_Table</source> </trans-unit> </group> </body> </file> </xliff> -- Douglas von Roeder 949-910-4084 On Mon, Jan 18, 2021 at 11:34 AM Bob Finnerty via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi Folks > > Using 4D 18 r4 windows. Working great until recently; then suddenly lost > the ability to autocomplete constants - both 4D and custom - in the method > editor. Commands, methods & macros still autocomplete. Constants tokenize > properly when full name entered. > > Any idea what's up & how to fix? > > And BTW, anyone point me to the xlf definition for a constants file (or > have a blank)? > > Thanks loads > > -- > Bob Finnerty > *Exodus Software* > ********************************************************************** > 4D Internet Users Group (4D iNUG) > New Forum: https://discuss.4D.com > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************