Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Very first impressions and.... [FEATURE REQUESTS]
Re: Very first impressions and.... [FEATURE REQUESTS] [message #11808 is a reply to message #11800] |
Wed, 26 September 2007 14:30   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
mdelfede wrote on Wed, 26 September 2007 04:17 |
luzr wrote on Wed, 26 September 2007 00:24 |
Ah, I see. You plan to store parse context for all lines.
|
Not exactly, I'd store the parse context for all definitions, quite less amount of data.
Quote: |
OK, that would work to some degree... Would be pretty unreliable for fast typers, but yes, not entirely insane.
|
Well, if you find a programmer that is so fast typing to overcome the speed of a well done background parser, please send him to me, I've got some job for him
|
He does not need to type that much fast to get false result. And the full parsing can take up to seconds.
Quote: |
I understand this, but then you MUST do it in real time.
From my point of view, all you need is a data structure storing the function-classes-macro-ecc definitions along with line numbers where they're defined.
|
Not enough. You need to know in what function you are too and to have all local variables info. In fact, knowing in what expression and perhaps even statement you are is quite important too.
Quote: |
You keep 2 such structures, and swap them when the background task is done, an so forth.
|
Hehe, sounds as seductive as all bad ideas in programming:)
Quote: |
That's all. Then, all what you need to do in real time is to do a fast lookup in that data structure to find what you're typing.
|
Well, that is not enough. The more important is to find the context WHERE YOU ARE. In what method, what locals are currently defined.
Quote: |
Quite simple and quick job, if data structure is well indexed.... much faster than to call the parser for each keypress and wait for him do complete the job.
BTW, the 'speed feeling' of users would be higher of an order of magnitude than full real-time approaches.
|
Well, do you feel that it is slow now?! What I am up to will be as fast...
Quote: |
p.s. The ctrl+ doesn't work for me.... do I miss something ?
|
Ctrl+, - i mean key with comma... I mean, hold Ctrl and press comma key 
Mirek
[Updated on: Wed, 26 September 2007 14:31] Report message to a moderator
|
|
|
 |
|
Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Wed, 12 September 2007 00:50
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: unodgs on Wed, 12 September 2007 09:07
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Wed, 12 September 2007 12:26
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Wed, 12 September 2007 14:46
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Wed, 12 September 2007 16:18
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Wed, 12 September 2007 17:48
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Wed, 12 September 2007 18:12
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Wed, 12 September 2007 18:40
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Wed, 12 September 2007 20:59
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Wed, 12 September 2007 21:52
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Thu, 13 September 2007 00:15
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Thu, 13 September 2007 14:31
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Thu, 13 September 2007 16:13
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Thu, 13 September 2007 19:37
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Thu, 13 September 2007 20:49
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Fri, 14 September 2007 09:40
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Fri, 14 September 2007 12:44
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Fri, 14 September 2007 15:45
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Fri, 14 September 2007 19:46
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Tue, 25 September 2007 14:22
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Tue, 25 September 2007 16:42
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Tue, 25 September 2007 18:22
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Tue, 25 September 2007 20:02
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Tue, 25 September 2007 23:01
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Tue, 25 September 2007 23:59
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Wed, 26 September 2007 00:24
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Wed, 26 September 2007 10:17
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Wed, 26 September 2007 14:30
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mdelfede on Wed, 26 September 2007 16:59
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Fri, 14 September 2007 09:43
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Wed, 12 September 2007 11:03
|
 |
|
Re: Very first impressions and.... [FEATURE REQUESTS]
By: mirek on Wed, 12 September 2007 14:40
|
Goto Forum:
Current Time: Mon Aug 04 13:39:15 CEST 2025
Total time taken to generate the page: 0.08278 seconds
|