Jump to content

[SOLVED] #include - autocomplete bug


Recommended Posts

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.

1-suggestions.png

2-result.png

EDIT: This has been solved in this post:

 

Edited by lee321987
Link to comment
Share on other sites

image.png.14cb59d71d40f092eaa023f80b90dd7f.pngimage.png.93f6cdd40c790f8ce1addaf98222fe92.png
..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 by argumentum

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • Developers
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:52588341_Aantekening2020-03-06091732.png.9510479839b175d7f0233060892292fb.png

Also tried with " ;include" as first line.

What do I need to do to see your issue exactly?

Jos

Edited 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

  • Developers

Ah ok ...   it is an expanded abbrev  after which the issue occurs. 

Edited 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

  • Developers

Please try the current  Beta of AutoItAutoComplete.lua to see if that fixes it for you.

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

  • Developers
18 minutes ago, lee321987 said:

intentional?

nah ;) 

Updated the Beta lua script.
Thanks for testing and the feedback.

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...