Sgqvur
FullOfUltimateTruthsAndEt ernalPrinciples, i.e shi
- Reaction score
- 62
1. Dev-C++ (line spacing is so small +1)
2. vim(I know the basics (I guess) but it's a lot of fun it =))
2. vim(I know the basics (I guess) but it's a lot of fun it =))
Visual Studio: Currently being forced to use this for XNA C# development in a school thing I'm in. I'm liking some things in it, but it has terrible auto-formatting, compared to eclipse.
Visual Studio: Currently being forced to use this for XNA C# development in a school thing I'm in. I'm liking some things in it, but it has terrible auto-formatting, compared to eclipse.
I don't find the VS code formatting bad. And if you don't like the style, you can customize everything in the settings.
public MovingGameObject(String texturePath, Vector2 position): base(texturePath, position)
// Always formats to the following, when I WANT the above, no matter what settings are
public MovingGameObject(String texturePath, Vector2 position)
: base(texturePath, position)
spriteBatch.Draw(
this.texture,
this.position,
null,
this.tintColor,
this.rotation,
new Vector2(
texture.Width / 2,
texture.Height / 2
),
this.scale,
SpriteEffects.None,
this.zindex);
I've customized everything in the settings, and it still insists that certain things be 'next line' instead of same line, such as the names of extended classes ALWAYS going on the next line:
Code:public MovingGameObject(String texturePath, Vector2 position): base(texturePath, position) // Always formats to the following, when I WANT the above, no matter what settings are public MovingGameObject(String texturePath, Vector2 position) : base(texturePath, position)
It also formats some longer functions so that nearly every argument is on a new line. Here's an example of 'formatted' text:
Code:spriteBatch.Draw( this.texture, this.position, null, this.tintColor, this.rotation, new Vector2( texture.Width / 2, texture.Height / 2 ), this.scale, SpriteEffects.None, this.zindex);
Yes, I have line wrapping turned off (or whatever it's called, haven't opened it recently).
I can see the point in the first one, although I personally prefer it being on a new line. There is probably some way to configure it though.
The second one I have never experienced, and I have quite some long expressions. Are you sure you didn't turn that one on yourself?
Oh, and general coding practices say you shouldn't use this. unless it is actually necessary
Notepad++: [...] I'm starting to miss the 'strip trailing spaces' feature from PSPad,
Edit > Trim Trailing Space