Does anybody know how to change the language of the (automatically generated) designer files in Visual Studio without changing the language of the UI?
Background: the members of my team use german and english Visual Studios. The problem is (svn-) merging the designer files with comments in two different languages. Whenever a member chan...
Possible Duplicate:
What does /!/ mean in C#?
I have been poking around in the IronPython 2.6 source code and noticed that the comment /!/ appears often. Example in ArrayGlobalAllocator.cs:
public ArrayGlobalAllocator(PythonContext/*!*/ context) {
It doesn't seem very informative, so I guess it has a predefined (or agreed u...
Hello guys,
I'm trying to set up a cookie which would store the time when the user leaves a website, so in the next visit he can find a "There's new content" message (if any) - checked against his "last seen" stored time.
The things I'm stuck with are two : how do I send a cookie when he leaves the site ? And, then, how do I check that...
I have a long string that I build with a bunch of calculated values. I then write this string to a file.
I have it formatted like:
string = str(a/b)+\
'\t'+str(c)\
'\t'+str(d)\
...
'\n'
I would like to add comment to what each value represents but commenting with # or ''' doesn't work. Here's an ex...
I looked around, but didn't find what I wanted. I need a vim plugin to insert blocks of code and prompt me for values in the comment.
// ********************** BeWee ************************
// *** Creation Date:
// *** Last Modification Date:
// *** File name: BeWee.cpp
// *********************************...
I notice that in WP blogs the comments order by continuous id (id=203, id=204 and so..).
while I understand the class names "parent" "child" - to sort the reply to thread, I didn't figure out why the id's are continuous - maybe to choose hide/show specific comments?
...
Can someone explain the format for ASP.NET MVC controllers? They look like this:
public class ProductsController : Controller
{
//
// GET: /Products/Edit/34
public ActionResult Edit(int id)
{
// ...
}
}
Why don't they follow the standard C#-notation with three slashes and XML markup? And why the empty line...
I need to insert the comment form directly to the node template (I use node-type.tpl.php to theme the node-type).
In related issue, if I go to /comment/reply/NID I get the comment form, but it's got only "preview" button, and no submit button. the Preview button does nothing when pressed on.
Thanks for the help!
...
Hello
Is there something like "The New C Standard.An Economic and Cultural Commentary" (http://www.knosof.co.uk/cbook/cbook.html) - line-by-line commentary of the standard for C++ (ISO IEC 14882-1998)?
I want to deeply learn some extremal examples of C++ and their standard-compliance
...
Is there software that can add rich text or HTML comments to specific lines and sections of text-based source code files without modifying the source file?
I am looking to document some HP Basic software and the only program I can find is Microsoft Word. The Review pane allows me to tag comments to specific lines, but Word comments do ...
I am trying to write documentation comments however I have a problem.
/// <summary>
/// Inserts an element into the System.Collections.Generic.List<T> at the specified
/// index.
/// </summary>
When I reach the <T> Visual studio thinks I am trying to add another tag. what is the correct way to add comments like that (and if I could ma...
I just posted this question and learned about <see cref="">, however when i tried
/// This is a set of extensions that allow more operations on a <see cref="byte[]"/>.
The compiler gave me warnings about it not being formatted correctly. What do I need to do so it will see the code reference correctly?
...
Java classes are generally divided into logical "blocks". Is there a convention to mark these sections? Ideally, it would be supported by the major IDEs.
I personally use this method:
//// Section name here ////
However, some editors seem to have problems with this.
As an example, in Objective-C code you can use this method:
#pragm...
I use Doxygen to generate docs for my objective c code. Up to now though, I haven't been able to find any guidelines for how to correctly document properties. Examples I've looked at do it every conceivable way. Some people document the variables themselves, some people document the @property declarations. Some use //, while others u...
Is there a point in writing comments in code like this?
/// <Remarks>
/// Name of abc - public property.
/// </Remarks>
In visual studio, the intellisense has icons for each type of class member (field, property, etc), so I don't see the point of this. In my current shop we are only using Visual Studio anyway, which provides those ico...
Is there an easy way to remove comments from a C/C++ source file without doing any preprocessing. (ie, I think you can use gcc -E but this will expand macros.) I just want the source code with comments stripped, nothing else should be changed.
EDIT:
Preference towards an existing tool. I don't want to have to write this myself with reg...
/* Suppose I have a multi-line comment with hard line-breaks
* that are roughly uniform on the right side of the text,
* and I want to add text to a line in order to make the
* comment a bit more descriptive.
*/
Now, most unfortunately, I need to add text to one of the top lines.
/* Suppose I have a multi-line comment with hard li...
In the spirit of the "Perl Preamble" where a script works properly whether executed by a shell script interpreter or the Perl interpreter...
I have a Perl script which contains an embedded HTML document (as a "heredoc"), i.e.:
#!/usr/bin/perl
... some Perl code ...
my $html = <<'END' ;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Tran...
I want to do something like this in my aspx page:
<asp:ServerTag Property1="a"
Property2="b"
Property3="c" <%-- Comment why this particular property is necessary --%>
Property4="d" />
However, I am greeted with the error message "Server tags cannot contain <% ... %> constructs." If I use an HTML <!-- --> tag, I'm told the...
I want to fetch a method's comments,take below method for example:
/**
* Returns the regex to extract all inputs from a file.
* @param string The class name to search for.
* @return string The regex.
*/
public function method($param)
{
//...
}
the result should be
Returns the regex to extract all inputs from a file.
@param string ...