Author Topic: Subs and Functions List  (Read 3275 times)

0 Members and 1 Guest are viewing this topic.

Offline Dimster

  • Forum Resident
  • Posts: 500
    • View Profile
Subs and Functions List
« on: February 23, 2019, 04:46:36 pm »
I'm finding I need to be a lot more descriptive in the names for my Subs and Functions but when they are listed for editing some of the name is truncated. Is there a way to make the whole name appear?

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Subs and Functions List
« Reply #1 on: February 23, 2019, 07:22:19 pm »
Are you talking about viewing subs in the IDE?  View > Subs...  because it seems like tons of room.
« Last Edit: February 23, 2019, 07:23:23 pm by bplus »

FellippeHeitor

  • Guest
Re: Subs and Functions List
« Reply #2 on: February 23, 2019, 07:34:18 pm »
The panel limits the list to show the first 20 characters of a SUB/FUNCTION's name. If a procedure's name is longer than 20 characters you will see the first 17 characters then "..." to indicate it goes further.

SUB/FUNCTION names can be up to 40 characters, like all identifiers in QB64.

A future version may bring an adaptable panel regarding SUB/FUNCTION names, but in the current version you are limited as indicated above.

Offline Dimster

  • Forum Resident
  • Posts: 500
    • View Profile
Re: Subs and Functions List
« Reply #3 on: February 24, 2019, 12:46:19 pm »
Yes, it is the IDE bplus that I was commenting on, and I agree, there appears to be tons of room for the full 40 characters to appear. Even when you highlight a Sub/Function by clicking on it, the full name doesn't appear anywhere on the screen. Thanks Fellippe, as the saying goes "All good things come to those that wait" or might that be "All those that weight had good things"?

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: Subs and Functions List
« Reply #4 on: February 24, 2019, 01:05:27 pm »
You mean "weight" comes to all good things? Are we talking code here or supermodels?

You know since you guys asked, what really chaps my hide is the inclusion of the folder names in front of the program names in the "Recent" option. The folder names almost completely obscure the name of the program. I'd recommend either getting rid of the folder location or putting it behind the file name, like Explorer does. Highlighting with side-scrolling enabled would be another solution, but i still think the program name should come first.

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Subs and Functions List
« Reply #5 on: February 24, 2019, 01:53:02 pm »
@ Pete, hmm... I'd be lost without folder names. How about right alignment of the pathed name, so that the root part gets left off if too long?

@ Dimster, Oh now I see what you are talking about, a 20 or 17 character limit for the name of sub or function in that panel that is as wide as screen but would run out of room for the name part. hmm... maybe if left align the whole string?