It is currently Fri Oct 18, 2019 5:01 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Intellisense...
PostPosted: Thu Jul 18, 2019 6:39 pm 
Offline
User
User

Joined: Wed Jul 17, 2019 5:32 pm
Posts: 39
I'm going to set my newby hat to the side for a moment and put on my dunce cap for this question.

In fear of committing the carnal sin of comparing PB to other IDEs.... does the PB editor have something similar to "Intellisense"? I know it has an auto complete feature, but I'm looking for something more like Intellisense where when you type a procedure's name a small tool tip will pop up showing the structure of the procedure, including its parameters/arguments and their data types. Because I'm a glutton for for punishment and actually prefer extreme verbosity and terseness in programming languages, I don't like assistance from the IDE in filling in what I want to type. So, I avoid autocomplete like the plague. But being new to PB, it's difficult to remember the parameters and their data types when implementing procedures I haven't yet gotten down in my memory. And that's why I dislike autocomplete because not using it forces me to type everything out and retain it in my head.

Anyway... if this question has already been answered somewhere else please feel free to toss me a link in that direction.

Gracias, Amigos!


Last edited by Dawgmann on Thu Jul 18, 2019 7:53 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Intellisense...
PostPosted: Thu Jul 18, 2019 7:19 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat May 05, 2007 5:31 pm
Posts: 622
Location: Linz, Austria
If you type e.g.
Code:
OpenWindow(
into the IDE, a short description appears in the statusbar:
Quote:
OpenWindow(#Window, x, y, InnerWidth, InnerHeight, Title$ [, Flags [, ParentWindowID]]) Opens a new window according to the specified parameters.


This also works for API functions, if you edit .\PureBasic\Compilers\APIFunctionListing.txt like this...
Quote:
SetWindowPos ( In HWND hWnd, InOpt HWND hWndInsertAfter, In int X, In int Y, In int cx, In int cy, In UINT uFlags ) BOOL | Changes the size, position, and Z order of a child, pop-up, or top-level window.
and type (restart IDE first)
Code:
SetWindowPos_(
(SetWindowPos_() only works on Windows OS)


Last edited by chi on Thu Jul 18, 2019 8:08 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Intellisense...
PostPosted: Thu Jul 18, 2019 7:46 pm 
Offline
User
User

Joined: Wed Jul 17, 2019 5:32 pm
Posts: 39
@Chi

Is there a setting in the options for this that I might have set incorrectly?

When I type "Ope" in the editor, the autocomplete list pops up. However, when I type "OpenWindow(" the autocomplete list closes and nothing else pops up.


Top
 Profile  
Reply with quote  
 Post subject: Re: Intellisense...
PostPosted: Thu Jul 18, 2019 7:55 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2924
Location: Planet Earth
Image
The intellisense is in the status bar: ^^^^^^^^^^^^^^^^^^^^^ at the bottom of the window.

In the screenshot above it shows the help for the command Right(String$, Length) - Returns the last...


Top
 Profile  
Reply with quote  
 Post subject: Re: Intellisense...
PostPosted: Thu Jul 18, 2019 7:58 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat May 05, 2007 5:31 pm
Posts: 622
Location: Linz, Austria
I made a short video...

You can also download my APIFunctionListing.txt (Windows only)


@Danilo Nice to see you again :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Intellisense...
PostPosted: Thu Jul 18, 2019 9:23 pm 
Offline
User
User

Joined: Wed Jul 17, 2019 5:32 pm
Posts: 39
LOL

I apologize for not being more observant of my work environment...


Top
 Profile  
Reply with quote  
 Post subject: Re: Intellisense...
PostPosted: Thu Jul 18, 2019 9:53 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu Apr 18, 2019 8:17 am
Posts: 329
Check this out, too: viewtopic.php?f=27&t=73066


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye