lee321987 Posted March 5, 2020 Share Posted March 5, 2020 (edited) If you have a comment with the word "include" anywhere in your code, then the auto-complete for #include does not work right. It only happens if you enter the "#include <" by typing "incl" and then hitting SPACE (to complete the abbreviation) -- if you manually type the whole word "#include <" this bug does not trigger. Once you complete the abbreviation you have "#include <" -- now type the "f" key. All the suggestions are on one line, and if you hit TAB, it completes to all suggestions. Attached are pics: 1) the suggestions. 2) what happens if you hit TAB key. EDIT: This has been solved in this post: Edited March 6, 2020 by lee321987 Link to comment Share on other sites More sharing options...
argumentum Posted March 5, 2020 Share Posted March 5, 2020 (edited) ..I don't get any of that. and I too have customized SciTE, and windows Try reinstalling the latest SciTE. Maybe that will fix your setup. ..and then hitting SPACE (to complete the abbreviation).. You hit tab, or arrow to select and enter. Edited March 5, 2020 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Subz Posted March 5, 2020 Share Posted March 5, 2020 (edited) Don't have a customized Scite and can replicate the issue, however as mentioned in the OP you need to type "incl" + space, not "#incl" + space Edited March 5, 2020 by Subz lee321987 1 Link to comment Share on other sites More sharing options...
argumentum Posted March 5, 2020 Share Posted March 5, 2020 (edited) tried that too. No bug in my setup. Edited March 5, 2020 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
argumentum Posted March 5, 2020 Share Posted March 5, 2020 ok, you'll have to have the ";include" on top to pop the bug. I would not have shared the finding. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
lee321987 Posted March 6, 2020 Author Share Posted March 6, 2020 It doesn't require the entire word: just this in a comment will trigger it: "inclu". Also it happens for me whether the ";inclu" is above or below where I'm typing. 20 hours ago, argumentum said: I would not have shared the finding. Do you mean this is too small a bug to bother anyone with it? argumentum 1 Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2020 Developers Share Posted March 6, 2020 (edited) 4 hours ago, lee321987 said: It doesn't require the entire word: just this in a comment will trigger it: "inclu". Also it happens for me whether the ";inclu" is above or below where I'm typing. Do you mean this is too small a bug to bother anyone with it? Just ignore that comment as it is up to me to state whether it is or not. As to your reported issue: I can't get it to go wrong yet. I have in a file: ;#include #include <F and get this popup: Also tried with " ;include" as first line. What do I need to do to see your issue exactly? Jos Edited March 6, 2020 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
argumentum Posted March 6, 2020 Share Posted March 6, 2020 you need to type "incl" + space, not "#incl" + space Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2020 Developers Share Posted March 6, 2020 (edited) Ah ok ... it is an expanded abbrev after which the issue occurs. Edited March 6, 2020 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2020 Developers Share Posted March 6, 2020 Please try the current Beta of AutoItAutoComplete.lua to see if that fixes it for you. Jos lee321987 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
lee321987 Posted March 6, 2020 Author Share Posted March 6, 2020 @Jos That fixed it for me. Thank you! Link to comment Share on other sites More sharing options...
lee321987 Posted March 6, 2020 Author Share Posted March 6, 2020 @Jos The fixed AutoItAutoComplete.lua has this line twice: editor.AutoCSeparator = string.byte(';') intentional? Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2020 Developers Share Posted March 6, 2020 18 minutes ago, lee321987 said: intentional? nah Updated the Beta lua script. Thanks for testing and the feedback. Jos lee321987 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now