Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / August 2004

Tip: Looking for answers? Try searching our database.

Visual ToDo comments

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rotan Hanrahan - 24 Aug 2004 15:57 GMT
Familiar with the //TODO: comments we put in textual source code?

Why not have an equivalent for the Form Editor in the IDE, so we can (for
example) put a sticky yellow note next to the ugly button saying "really
need to draw a better icon for this button".

I RAD a lot, so all the visually start and end in the Form Editor, and
there's nowhere for me to put comments except in the source code.

It's just an idea, and I'm saying it here in the hope that some MS person
picks up on it and thinks: "Could be done. We could embed the sticky notes
as comments in the designer generated code, including the XYWH location
details."

Or is this an idea that's been done already, or coming in the next version?

---Rotan.
Uri Dor - 26 Aug 2004 11:35 GMT
I think it can be done without changes to the IDE:
Write a control which is always visible=false, give it some yellow
stick-note appearance in the designer, write your own CodeDomSerializer
for it (see "Customizing Code Generation in the .NET Framework Visual
Designers" in msdn).
That should do it.
The only question I have is this: when you see such a message in the
task list and double-click it, what do you expect the IDE to do?
Maybe you need to show tooltips in the designer - not sure if that's
possible.

> Familiar with the //TODO: comments we put in textual source code?
>
[quoted text clipped - 13 lines]
>
> ---Rotan.
Rotan Hanrahan - 26 Aug 2004 11:45 GMT
I suspect the only two places a design-time control can render are:
1. The rectangle containing the form being designed
2. The strip where controls like Timer and OpenFileDialog are placed.
Like textual comments, you don't want the comments to obscure the material
on which you are working. So I would envisage the little yellow e-stickies
being placed in the region outside the form's rectangle. Possibly with lines
connecting to the control in the form to which the e-stickie is commenting.
So unless I'm wrong about the rendering limitations of a design-time
control, I suspect this feature could only be done properly through direct
access to the IDE code. In other words, this is a job for MS.

---Rotan

> I think it can be done without changes to the IDE:
> Write a control which is always visible=false, give it some yellow
[quoted text clipped - 24 lines]
> >
> > ---Rotan.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.