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.
If you have the same problem, try importing this file in Regedit(run as administrator):
; numlock.regWindows Registry Editor Version 5.00[HKEY_USERS\.DEFAULT\Control Panel\Keyboard]"InitialKeyboardIndicators"="2147483650"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,45,00,00,00,00,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 Studioback in1997,
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
After a quick download and a smooth installation, Visual Studio Code booted. I opened a folder full of
found a rookie mistake for me...
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 <blockquote>. Only <li>, <script> and <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.