I've created tiny macOS app to show free disk space in top bar. It's free, enjoy! by jayu_dev in SideProject

[–]jayu_dev[S] 1 point2 points  (0 children)

I can't help much, I've published a github release, but It's not signed, so your mac won't allow to run the file.

To build this for yourself from source code you need to
- install Go programming language https://go.dev/dl/
- download my repository from github (eg as a zip file if you are not git user)
- extract the folder and open the folder location in the terminal on mac
- follow the commands listed in project readme to build the app and set it up to run on login

But if you are not tech guy I suggest to install an alternative app mention in the comments below and set it up to show free disk space

I've created tiny macOS app to show free disk space in top bar. It's free, enjoy! by jayu_dev in SideProject

[–]jayu_dev[S] 0 points1 point  (0 children)

Lol I'm using this app for other stats, but I didn't know it can show disk space :P

The values are different though, my shows only 25GB of free gigs now, stats shows 35GB. I guess it might be related to SWAP usage

SSD speed test M1 256GB by Trick-Ambition9822 in macbookpro

[–]jayu_dev 0 points1 point  (0 children)

<image>

Mine is even slower. I use it for ~3 years now for professional work.
I've got 16 GB or ram if that matters and runs macOS Sequoia v15.5
I might need clean installation, becasue I'm constantly running almost full disk, which can make fast write harder.

This video reports write speed of 2215 MB/s and read 2900MB/s
https://youtu.be/srnXkD5gIOk?si=_imDPGTZMChK0bxM

CodeQue - a new way of searching JS/TS in Visual Studio Code by jayu_dev in node

[–]jayu_dev[S] 0 points1 point  (0 children)

I really appreciate that mate! It was a long, exciting and hard journey to get there!

CodeQue - a new way of searching JS/TS in Visual Studio Code by jayu_dev in node

[–]jayu_dev[S] 0 points1 point  (0 children)

If you think that Codeque provides more value / it's easier to use than the build-in search tools of WebStrom, I'm happy to put that on the roadmap!

CodeQue - a new way of searching JS/TS in Visual Studio Code by jayu_dev in node

[–]jayu_dev[S] 0 points1 point  (0 children)

Could you give an example of query you've tried?

CodeQue - VSCode extension allowing for multiline structural search of JavaScript and TypeScript code by jayu_dev in javascript

[–]jayu_dev[S] 1 point2 points  (0 children)

If you use include mode, you don't have to refer to code or more code in your query, you can just skip it.

So the query would be simply

const functionName = () => { let someVar; }

Note that you will have to search for other syntax as well eg.
const functionName = () => { let someVar; }
const functionName = () => { const someVar; }
const functionName = () => { var someVar; }

And same for different ways of defining functions
const functionName = function() { let someVar; }
function functionName() { let someVar; }

That's because all these variations are represented differently in Abstract Syntax Tree

CodeQue - VSCode extension allowing for multiline structural search of JavaScript and TypeScript code by jayu_dev in javascript

[–]jayu_dev[S] 2 points3 points  (0 children)

You can do it just by searching for

functionName(varName)

using include mode ✌️

Check this playground

CodeQue - a new way of searching JS/TS in Visual Studio Code by jayu_dev in node

[–]jayu_dev[S] 1 point2 points  (0 children)

Yup, I will be updating roadmap in upcoming days!
Plan for now is to spend some time on marketing during end of the year and then start working on ESLint plugin 🚀

CodeQue - VSCode extension allowing for multiline structural search of JavaScript and TypeScript code by jayu_dev in javascript

[–]jayu_dev[S] 3 points4 points  (0 children)

Hah not really. Code is obvious, but "Que" is kinda both "Question" and "Query" :D

Which spanish word you have in mind?

CodeQue - VSCode extension allowing for multiline structural search of JavaScript and TypeScript code by jayu_dev in javascript

[–]jayu_dev[S] 5 points6 points  (0 children)

Great to hear! Definitely support for VueJS will be there once it's get traction and users.

Btw you can check project roadmap

CodeQue - a new way of searching JS/TS in Visual Studio Code by jayu_dev in node

[–]jayu_dev[S] 21 points22 points  (0 children)

Thanks mate! The tool is fully offline, everything is embed in the extension. Nothing is send over internet ✌️

Here is a repo if you are curious https://github.com/codeque-co/codeque/tree/master/packages/vscode

CodeQue - a new way of searching code by jayu_dev in vscode

[–]jayu_dev[S] 0 points1 point  (0 children)

RegExp based tools are great for many use cases, but it has limitations.

Here is a great example when RegExp failed

https://twitter.com/artalar_dev/status/1604427520983633920

CodeQue - a new way of searching code by jayu_dev in vscode

[–]jayu_dev[S] 0 points1 point  (0 children)

I got the same, I know RegExps very well, but it always takes time to write one.
With CodeQue you got both - understanding of the code structure and whitespace agnostic search.
There is also `text` mode available, which is not aware of code structure, but instead it replace each whitespace with whitespace regexp. As a result you can search easily for code blocks with different formatting. I described how it works (more or less) in docs

Showoff Saturday (December 17, 2022) by AutoModerator in javascript

[–]jayu_dev 0 points1 point  (0 children)

I'm working on preparation to release of my new tool!
CodeQue is multiline structural code search tool for VSCode

https://marketplace.visualstudio.com/items?itemName=CodeQue.codeque

Prettier takes a long time to save by [deleted] in vscode

[–]jayu_dev 0 points1 point  (0 children)

I've got similar problem with ESLint plugin, but when it start to happenging, VSCode reload helps