code

How to show reference count in Visual Studio Code

CodeLens in VS code

While the developing, especially while the code cleaning, you often want to know if your method is used or not. It’s usually when you make some temporary methods to determine the optimal one. Visual Studio shows the reference count by default, but Visual Studio Code doesn’t do that. But it’s very useful. Here is how […] Read more»

TypeScipt / Javascript

A JS/TS useful snippet to return top N records ordered by time

Javascript logo

A JS/TS useful snippet to return only several last records with sorting by time. The data is stored in localStorage. I can’t modify the types for external component, so that’s why all the data has string types. and I use ‘moment’ to convert the strings to the date format. Read more»

TypeScipt / Javascript

Popular Posts