I have a strange bug in the Visual Studio text editor.
All my blank spaces are replaced by a "."
public class Person
{
int age;
}
looks like this
public..class..Person..........................
{..................
..int age;...................
}.....................
I reset the settings t...
Visual Studio 2010 Pro: Where are the settings so that the editor can show the space, tab, paragpraph, CRLF, etc. characters? I can do it in NotePad++ though.
~ FOR VISUAL STUDIO 6 ~
use: ctrl+shift+8
to toggle on/off.
(or manualy go to: Edit> Advance > "View Whitespaces")
goodluck!
Works also for Visual Studio 2008, when
Tools/Options/Environment/Keyboard/Mapping Scheme: Visual C++ 6
is selected.
As phrased, this is not an appropriate question for Stack Overflow. If you are asking for suggested improvements to your code, you want Code Review (read this guide first!). Otherwise, you should read the questions to not ask and what is on-topic. — Shepmaster35 secs ago
How to create a read-only property exposed to COM?
I posted the question and the answer, but Hans Passant is the real hero here.
I was working on a COM library to be consumed by VBA. I'd never done anything like this before, so needless to say, I spent a good amount of time digging around ...
O. M. G. I have Outlook on my work laptop. And I want to write a script to aggregate some information based on the word content of some emails. Now I have a legit excuse.
I started to learn Rust some time ago and I wonder if there is some way to write Rust code that is both concise and safe.
Let's see an example. I wrote a software to generate random bookmarks and save them to a file, both in Rust and Haskell to compare.
First, I'll show you the Haskell version:...
Given a folder typically containing ~250,000 small (20-100kb) files in HTML format (they open as single-sheet workbooks in Excel) and a list of ~ 1 million filenames, I need to open all the files that match the list and Do Stuff.
Overview of Main code Loop: "Test 1 Start" to "Test 1 End"
Once we...
@Zak that's exactly how I went about it. Excel > VBA > Access > SQL > SQL Server > C# & .net > screw VBA > more C#, more .net > get a VB6 programmer job > implement .net stuff in VB6/VBA > screw the VB6 job > ...
I started to learn Rust some time ago and I wonder if there is some way to write Rust code that is both concise and safe — in particular, avoiding unwrap(), casting functions and try!().
Let's see an example. I wrote a software to generate random bookmarks and save them to a file, both in Rust a...
@Mat'sMug Did I tell you about the dynamic query I got working yesterday? First time seriously using DSQL (and cursors) but managed to build the skeleton of something that will do exceptions record-matching across 22 DBs or so.
@RubberDuck Well, I feel sure my DBAs prefer that I query a bit of information on one server at a time and release, rather than keep 22 connections open in a transaction ;)
question / request for those of you who know VBA. I'm currently re-writing this using my best interpretation of TDD and the phrase "refactor mercilessly". When I'm done would anyone be willing to do an in-depth review of it?
Every piece of business that gets written (E.G. an adviser's client puts an additional £10k payment into a pension plan) goes in a spreadsheet called the SubSheet. It's split into 8 worksheets for different kinds of business, each with lots and lots of columns. E.G. "Adviser" "First Name" "Invest...
The purpose of the code, as I understand it, per your description seems to be easily accomplished with a pivot table. That, or you need a database, not excel. — Raystafarian2 days ago
Jon Skeet isn't an expert at everything.
I always seen excellent answers from Jon Skeet. He is a legendary contributor to the site. His answers always strive to explain the why behind the problem, and for someone like myself who strives to collect as much knowledge about their profession as po...
@Zak you have an interesting mix of good and bad habits. I think you'll be a fine programmer. Just gotta break the bad ones and reinforce the good ones. I'll definitely review that in the morning.
Yet another request for a magic link. In the following situations:
I answer a question, the asker replies to me in a comment, and I want to reply to them asking them to edit certain information into the question
The asker adds extra information as an answer instead of an edit
I want to give t...
was somebody wanted to modify our recorded business spreadsheet to auto-send certain columns from user-defined lines in an email to our investment team. I had never done any vba in outlook before. I turned around 7 minutes later and gave them a finished macro :)
@Mat'sMug I thought I was moving on to something better. Turns out I was wrong, oh so wrong. And I AM the standard there. Turns out, the standard is nothing more than a rubber stamp actioned by senior mangement
I was wondering what the proper way is of animating each element, whether it's span, div, li, img... It doesn't really matter, but in this case, I am trying to animate list items ul > li with custom animation that I found on the web.
It is basically created for animation of a single element's te...
Anyway, there was a reason I came in here tonight. A week ago I posted a clock for review. I thought maybe a few of you might be interested to see how that clock has evolved (and the real reason I had for writing it)... (maybe it's not perfect but apart from missing unit tests I am very happy with it) :-) github.com/mproffitt/PyKryptos/tree/develop
Provide an implementation to sort a linked list using MergeSort. Can you please critic my code and provide your thoughts on where I should improve my code.
import java.util.Iterator;
import java.util.NoSuchElementException;
public class LinkedList<T extends Comparable<T>> implements Iterable<T>...