Idea to be more productive


What if we could edit a function call inline?

Lets say we are reading some code and functionX is called. If we want to
examine this fuinction than we typicaly have to go to the declartion which
can be in another file.
Here we come across another function for which we have to open up yet another
file...

Spliting code up in small and clear functions is considered good design but
you can't read it like a book page after page. You are constantly being refered
to different chapters.

If we could simply "open up" a function without navigating to the actualy
declaration, something like this :

**************
string t;

+ functionX

some more code
**************

If we press on the + sign the function opens up and we see it right there.
I don't think its difficult to make the text of the function readonly and
if we could edit it right there ... that would be cool no?

Now we can start reading our code as if it was 1 big book. That reads a lot
bettet :)

Cheers,

Tom Pester


3 comments
Comment actions Permalink

Tom,

thank you for your suggestion. This is certainly a great idea!
We have something like this in our Java IDE - IntelliJ IDEA,
and we also think about implementing this in ReSharper, but not in 2.0.
Maybe next version...

Friendly,
Dmitry

tom pester wrote:


What if we could edit a function call inline?

Lets say we are reading some code and functionX is called. If we want to
examine this fuinction than we typicaly have to go to the declartion
which can be in another file.
Here we come across another function for which we have to open up yet
another file...

Spliting code up in small and clear functions is considered good design
but you can't read it like a book page after page. You are constantly
being refered to different chapters.

If we could simply "open up" a function without navigating to the
actualy declaration, something like this :

**************
string t;

+ functionX

some more code
**************

If we press on the + sign the function opens up and we see it right
there. I don't think its difficult to make the text of the function
readonly and if we could edit it right there ... that would be cool no?

Now we can start reading our code as if it was 1 big book. That reads a
lot bettet :)

Cheers,

Tom Pester



--
Dmitry Lomov
Senior Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop With Pleasure!"

0
Comment actions Permalink

"Dmitry Lomov (JetBrains)" <dmitry.lomov@jetbrains.com> writes:

Tom,

>

thank you for your suggestion. This is certainly a great idea!


I second that! I'd definitely want that!

We have something like this in our Java IDE - IntelliJ IDEA,
and we also think about implementing this in ReSharper, but not in 2.0.
Maybe next version...


Let's hope 2.0 gets out soon so you can start working on the new version
then ;)

Best regards,
Martin

0
Comment actions Permalink


Weren't you guys and girls working on a stand alone .NET IDE too? Just curious
but maybe you can't confirm it.

VS is ok and was probably realy good 5 years ago. But I want a smart IDE
like I get a taste of it when I use resharper.

Cheers,
Tom Pester

Tom,

thank you for your suggestion. This is certainly a great idea!
We have something like this in our Java IDE - IntelliJ IDEA,
and we also think about implementing this in ReSharper, but not in
2.0.
Maybe next version...
Friendly,
Dmitry
tom pester wrote:

>> What if we could edit a function call inline?
>>
>> Lets say we are reading some code and functionX is called. If we want
>> to
>> examine this fuinction than we typicaly have to go to the declartion
>> which can be in another file.
>> Here we come across another function for which we have to open up yet
>> another file...
>> Spliting code up in small and clear functions is considered good
>> design but you can't read it like a book page after page. You are
>> constantly being refered to different chapters.
>>
>> If we could simply "open up" a function without navigating to the
>> actualy declaration, something like this :
>>
>> **************
>> string t;
>> + functionX
>>
>> some more code
>> **************
>> If we press on the + sign the function opens up and we see it right
>> there. I don't think its difficult to make the text of the function
>> readonly and if we could edit it right there ... that would be cool
>> no?
>>
>> Now we can start reading our code as if it was 1 big book. That reads
>> a lot bettet :)
>>
>> Cheers,
>>
>> Tom Pester
>>


0

Please sign in to leave a comment.