Author Topic: build window: Filename Completion  (Read 1412 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
build window: Filename Completion
« on: August 10, 2021, 11:06:39 PM »
Create several files
C:\temp\joelist1.txt
C:\temp\joelist2.txt
C:\temp\joelist3.txt

From the build window, type: dir  C:\temp\joe
Press <tab>
A popup list appears with the 3 files in it.
Press <tab> a 2nd time
The first file is selected
Press <tab> a 3rd time,
Now the list changes to include History and File, with the first file in the History list.
Apparently, just tabbing thru things add the file to history?

The <tab> behavior is a little weird, and not like the normal windows CMD prompt.

Dennis

  • Senior Community Member
  • Posts: 3999
  • Hero Points: 522
Re: build window: Filename Completion
« Reply #1 on: August 10, 2021, 11:17:21 PM »
I'll give this a try, it could be that we are gathering History a bit too aggressively.  You can turn off the History option for the build window.  Document > Process options... > Auto-Complete > uncheck History

Dennis

  • Senior Community Member
  • Posts: 3999
  • Hero Points: 522
Re: build window: Filename Completion
« Reply #2 on: August 10, 2021, 11:36:57 PM »
Question:  In Document > Process Options... > Auto-Complete, what options do you have enabled?

Specifically, do you have "Tab inserts longest unique prefix", or "Tab cycles through choices" enabled?

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: build window: Filename Completion
« Reply #3 on: August 11, 2021, 01:07:17 AM »
Where is " In Document > Process Options... > Auto-Complete" ?
Do you mean: Tools > Options > Languages > SlickEdit Languages > Process > Auto-Complete
?

There "Tab inserts longest unique prefix" is checked.

Dennis

  • Senior Community Member
  • Posts: 3999
  • Hero Points: 522
Re: build window: Filename Completion
« Reply #4 on: August 11, 2021, 01:29:22 AM »
When I say "Document > [lang] Options...", I'm referring to the Document menu.  It's the same destination, just a faster way to get there.

I'm still deciding if that tab completion case is a bug or a feature.  What are you expecting to happen the third time you hit Tab?  You've already completed the symbol prefix as far as it will go.  So the choice is pick the first completion and insert it, or do nothing.
« Last Edit: August 11, 2021, 01:32:01 AM by Dennis »