Notepad++ 5.8.3 with FunctionList on Windows 7

Many thanks for advice Ariadie and Claude!
Notepad++ 5.8.3 works perfect with FunctionList_2_1 UNICODE.

Please note that setting on Windows 7 is saved by path
%APPDATA%\Notepad++\plugins\config\FunctionListRules.xml
So you can always backup or restore your personal settings.

Enjoy it!

Specified cast is not valid at System.Linq.Enumerable. MoveNext

Yes, it's true. Pseudo-code below will not work with buildin types (int, long, double and so on) with InvalidCastException.


int[] a = new int[]{ 1, 2, 3 };

IEnumerable<double> d = a.Cast<double>();


foreach (double x in d) {

System.Console.WriteLine(x);

}
To resolve the issue you should rewrite second string with explicit cast as below

IEnumerable<double> d = a.Select(i => (double)i);

apache: .js is not executable; ensure interpreted scripts have "#!"

If appears in apache log the following message

apache: .js is not executable; ensure interpreted scripts have "#!"

you should modify config file and use Alias instead of ScriptAlias


Alias /appl/ "C:/xampp/appl/"
<Directory>
AllowOverride All
Options Indexes MultiViews +ExecCGI
DirectoryIndex index.php
Order allow,deny
Allow from all
</Directory>

How to install DBD-ODBC on Windows

I have installed XAMPP and could not install DBD-ODBC module to access MSSQL Server.
It appeared error message
ppm install failed: Can't find any package that provides DBI for DBD-ODBC
or
Can't locate object method "rvalidate" via package...

Quick research exposed that PPD file format was changed.

You can download updated version here.
or just execute from command line

ppm.bat install http://andronova.de/DBD-ODBC-1.24.ppd

Please note: solution works only with ActiveState Perl 5.10 x86

HOWTO list all my functions in CSharp (C#) using FunctionList

If you could not find your functions in the list from C# class, it is possible that not exists correct language parsing rule. Click on picture to zoom out it and create similar rule in "Language Parsing Rules" dialog. Add new group for C# language and name it METHOD.


Function Begin: \w*[\s\*]*
Function List Name: \w+\s*[\s\*]*
Function End: \(.*\)
Body Begin: \{
Body End: \}
Body Begin to Body End: \{

by the way you can use the same trick for Java language.

If you are looking for method list of class in C# check also here.
It will NOT help to folding and unfolding blocks of code like Eclipse, but you can quickly navigate through code.

HOWTO: Repair Logitech M325 Mouse

FixIt says that you will find single screw under CE label. It isn't always true.