I am currently in the process of creating API documentation using Microsoft Word 2007 and I need the user to cut and paste a section from the document into their web.config.
I formatted the section in the Microsoft Word document for easy readability and when I paste the formatted section into the web.config it maintains the style from t...
I'm running Visual Studio 2008 sp1 on Windows 7 Build 7100 32bit.
I've never had this problem before, even on different installs of Windows 7 RC.
when I finish a statement with a ';' or '}' or something, normally VS will auto format that line or block of code. It hasn't been for me.
I checked Tools->Options->Text Editor->C#->Formattin...
Visual studio keeps doing this:
[DataContract]
public class MyContract
{
[DataMember]
public bool MyBool { get; set; }
[DataMember]
public string MyString { get; set; }
}
I would like this:
[DataContract]
public class MyContract
{
[DataMember] public bool MyBool { get; set; }
[DataMember] public string My...
If it is possible to auto-format code before and after a source control commit, checkout, diff, etc. does a company really need a standard code style?
It feels like standard coding style debates that have been raging since programming began like "put the bracket on the following line" or "properly indent your (" are no longer essential....
Hi,
When i work in VS2008, i use the Ctrl+K+D very often as it saves a lot of time.
But in CSS files, this command formats the document in a way i don't quite like.
For example when i auto format the document,
.Foo
{
width:1px;
height:2px;
}
However, i like to format tags this way, as it is much more easy to read (in my opinion):...
Hi
How do I autoformat my js files in VS2005
Doesnt seem like this version support js autoformat out of the box. so any plugins or other tips?
...
I don't mind most of the way that VS2005 auto-indents (or auto-formats) my C++ code, but certain items I don't want it to automatically indent. Like #define statements for example. It takes them and shoves them all the way to the left side of the screen, no matter how deep into my scope I type them. That's really really annoying.
Is the...
Can I automatically reformat Java code in Eclipse so that no lines exceed 80 characters in length, with string literals being split and concatenated using "+"?
Example:
String s = "very long "| <- imagine this column to be the 80 chars margin
+ "string"; |
All wrapping seems to work but string splitting...
Thanks!
This i...
This should be easy to answer:
I have Eclipse set to wrap Java code over 80 chars to respect my margin.
This code never wraps:
if (expressionItem.type.isTypeCompatibleWith(containingNameLink.type) == false) {
reportParsingError("expression type incompatible with containing "
+ "context.");
}
Question: how do ...
Is there any tool (editor, script, whatever...) available that can automatically reformat R code? It does not need to be customizable but it must be able to recognize statements separated by either semicolons or newlines since this code has both. If it can put all statements on a separate line, consistently indent code blocks and consist...
Does Dreamweaver CS5 support auto-formatting feature similar to Visual Studio 2010 CTRL+K, CTRL+D?
Thanks!
...
A cat at my company walked over a keyboard and has left a valid 1000+ line of executable Perl code for me to maintain.
Thanks to Perl's TMTOWTDI philosophy I find myself searching Google to make sense of every line of code she has produced.
To add to my misery the code is not indented and one find frequent occurrence of the two stateme...