|
Can't you kinda do this with the task list in Visual Studio?
|
|
|
|
|
Sure, if you want to put TODO's all over your code.
Right now I do this:
Then I can search for "TODO: KM" and get a list of all my tasks, but this new feature would make it part of a bookmark that isn't in the code files. Plus, add on scope, such as Mine, Team, etc, and it greatly enhances it.
If it's not broken, fix it until it is
|
|
|
|
|
|
In VS 2015 you can use the Bookmarks window and then rename your bookmarks as you like. I can't remember if it is in lower versions, but I am sure it is - too lazy to check right now.
I use this often.
You can create folders and add bookmarks to these folders, like "SecurityStuff", etc.
|
|
|
|
|
OK, i see the Bookmark Window. I see how to rename and create folders, but what does that do for you?
[Update]
I see, you can group them in folders, then use the Bookmark Window to move through bookmarks in that specific group.
Nice
If it's not broken, fix it until it is
|
|
|
|
|
I did not know this. I am going to have to start using bookmarks.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Post this at Microsoft; it isn't going to have any effect here. (I never use bookmarks, so don't care one way or the other.)
|
|
|
|
|
staring at code for a application security framework that I put the finishing touches on six months ago and it might as well be written in hieroglyphics. I know exactly what it does but I can't figure out how I got it to work
Maybe I just need more coffee.
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
|
|
|
|
|
Foothill wrote: Maybe I just need more coffee. Or more comments in your code.
/ravi
|
|
|
|
|
This is what my past couple days have been like, but the offending code was written about 2 years ago.
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
Oh, back before the days of good comments. Thou art forgiven.
|
|
|
|
|
The main problem is that I commented the obvious bits, but not the weird bits...
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
Well, yeah, those are the easiest comments to write.
|
|
|
|
|
I feel you there. I've come across some of my older code from when I was still learning WPF and lambda expressions and I swear it was written by a 7 year old in Romulan and translated into English by a drunken Klingon.
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
|
|
|
|
|
At least yours started in Romulan. I think mine started in Esperanto, an even more useless language.
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
*Bursts out laughing*
Now THAT is funny!
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
...broken hearted. Tries to sh!t, but only farted.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
I'm in a situation where I need to replicate client side and server side code. I wish I could just write the code once (in C#) and reuse it client side. The Great Dream.
Javascript has been on the client (browser) side forever. For a time it competed with VBScript in Microsoft's attempt to dominate. VBScript on the client failed for all the usual Microsoft reasons, leaving the client side to Javascript (we won't mention Flash).
Java had a crack at the client side but Microsoft sabotaged that (those were bad days in Microsoft). Then Microsoft promised that WebForms would have hooks available through IE that would allow your C# code to execute on the browser. That went exactly nowhere. Then we had JScript.NET, an attempt to bring Javascript to the server, Microsoft style. That died, again for the usual Microsoft reasons.
So the only client-side language left was Javascript. It was "C" enough that people could use it easily. It was a translated language so super easy to get up and running. It tolerated errors, it didn't care about types, it never, ever argued or got into a fight. It was becoming more and more a necessity and less a nice-to-have, and it threatened no one, really, so it was left on the client to be its own thing.
Then Google got serious with the V8 Javascript engine which then went server-side and we had a situation where a horrible, stunted play language that was all that was left of the client-side wars made the leap, virus-like, to the server, and like a virus it spread. Node.js, then HTML5 native applications, TypeScript, and suddenly it wasn't about bringing excellent languages to the client-side and fighting to see which won. It was about Javascript invading the server-side of things and being the one language that didn't inspire a tribal backlash. No one really loved it, yet no one really felt it was being thrust down their throats by any of the big players. It was allowed to stay.
And so by default we have the one ubiquitous language that works on the client and the server.
And the meek shall inherit them both.
cheers
Chris Maunder
|
|
|
|
|
I agree that javascript is doing well, and I like it(I use it on the client & in Node.js), but it isn't the #1 language used in development, so I'm not sure what you mean by winning.
It's also a holy mess unless you're writing a lot of small programs, which most people do. When you get bigger, you need Typescript to keep the code clean.
Finally, we will be able to use other languages in the browser, it's just taking a bit longer than I like.
Take a look at Webassembly to see where this is going.
|
|
|
|
|
Dewey wrote: When you get bigger, you need Typescript to keep the code clean.
Or use Babel and some fashion of module loading if you don't want to go the TypeScript route.
Jeremy Falcon
|
|
|
|
|
I blame John Ressig.
Before JQuery, javascript was... not exactly rare, but not exactly ubiquitous, either. After all, pre-JQ, if you wanted to use JS, you had to know all the foibles of individual browser differences, and there were lots of differences back in those days. That damn dollar sign changed all that. JS exploded on the client side, which made the Goog take notice and create V8.
|
|
|
|
|
As Scar* would say: "Awww, we scripties aint all that bad..."
*Scar (The Lion King) - Wikipedia, the free encyclopedia[^]
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Well that's just it. It *is* the language of the web. JavaScript has always dominated that. That hasn't changed, it just snuck its way into the server world, and now we have a whole new world opened up, such as prepossessing and transpiling, running scripts instead of shell or batch scripts, etc. I don't think it'll ever replace a hardcore server language until it fully compiles, but it's nice to have one that can do so much now, less crap to remember in our older age.
Oddly enough, Java wanted to be one language to rule them all. And now look, JavaScript, the kid sister is at it too.
But all of this will change when WASM is the new kid on the block. Just think about it, you open up your favorite IDE. Have a C++ project going, and when you compile, instead of choosing Win32 or Win64 as a compile target, you choose WASM. It's like MSIL, but for the web. Things are gonna change man. The future is bright for the web. This whole Node.js is just a stepping stone into blurring the lines between desktops and web apps.
Jeremy Falcon
|
|
|
|
|
Sprinkle a little XML in there too and we'll be set.
cheers
Chris Maunder
|
|
|
|
|
I'll see your XML, and raise you a JSON. We don't need to schema validation for the web. It's a dangerous place and we like it that way.
Jeremy Falcon
|
|
|
|