StackOverflow user graham added a reference to a third-party DLL called
ServiceProvider.dll, but couldn't figure out
directive to use to access the types made available in that DLL.
Most times, the DLL is named after the default namespace, which would suggest that a simple
using ServiceProvider; should
help, but that didn't work. When using closed-source SDKs that you purchase licenses for from some company, it is pretty common to
find that their namespaces are named after the company itself. In this case, the root of the namespace hierarchy was
after the company.
When you double-click the reference in the Solution Explorer, the Object Browser opens up with the double-clicked referenced assembly pre-selected. All
you have to do then is to expand the selected row to see all namespaces included in the dll file.
One of the remnants of early PC computers is the Num Lock key. For most people, like me, it is just a nuisance. I mostly use my laptop with a dock connected
to a standard 102 key keyboard, so when I use the numpad, I want numbers to appear – I don't want the cursor to move semi-randomly across my document.
When I sometimes hit the Num Lock key by accident, I'm always in for a few seconds of feeling annoyed.
I'm not the only one thinking this. A quick search for keep num lock key on permanently
windows 10 gives hundreds of results, but most answers focus on making it turn on at reboot. I could only
find one good answer to the actual question.
If you have the same problem, try importing this in Regedit (run as administrator):
Windows Registry Editor Version 5.00
This will fix two things:
- The first setting makes Num Lock turned on by default at reboot
- The second setting disables the Num Lock key (key code 45) completely so that its signals don't reach the operating system correctly
Use this tip on your own risk. Don't forget to backup your registry before doing this. Changing things in RegEdit is always risky and in no event will I be liable for any
loss or damage arising from the use of this information.
Yesterday Microsoft held Build 2015 and presented lots of nice things to the developer community. I have always loved Microsoft's developer tools, and started using Visual Studio back in 1997, hacking away with Visual Basic and Visual C++.
Now I still use Visual Studio at work, but for my personal projects, I mostly do web development in PHP and sometimes ASP.NET MVC. For the PHP projects, I have been using Komodo Edit for a while now, and am happy with it.
Visual Studio Code
A couple of HTML IntelliSense suggestions
Allowed attribute values should be suggested, like when typing
<link rel=", I would like a popdown list to suggest things like
stylesheet and so on.
Element suggestion should only include elements that make sense in the context. Directly inside an
<ul> element, there is no point in suggesting a
<template> elements make any sense.
What will make me switch
The editor is really nice to work with, it feels snappy and does things well. Changing personal settings is done in JSON, which is cool, because JSON... Until PHP IntelliSense is added, and some improvements are made in HTML editing, I will stick to Komodo Edit, but I will probably switch to Visual Studio Code eventually.