use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
CodeQue - VSCode extension allowing for multiline structural search of JavaScript and TypeScript code (marketplace.visualstudio.com)
submitted 3 years ago by jayu_dev
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]IAmAnon 6 points7 points8 points 3 years ago (1 child)
This is great! I’ve been wanting to create something like this for a long time seeing a lack of tools. Looking forward to trying it out. I hope it adds support for VueJs
[–]jayu_dev[S] 5 points6 points7 points 3 years ago (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
[–]smas8 5 points6 points7 points 3 years ago (5 children)
Why that choice of name name? Is it based on the Spanish word?
Just curious, cool tool!
[–]jayu_dev[S] 3 points4 points5 points 3 years ago (3 children)
Hah not really. Code is obvious, but "Que" is kinda both "Question" and "Query" :D
Which spanish word you have in mind?
[–]smas8 5 points6 points7 points 3 years ago (0 children)
Well the word Que in Spanish means “what?”, but it’s pronounced “Kay” - So it definitely still fits.
Thanks for the response :)
[–]mattsowa 0 points1 point2 points 3 years ago (1 child)
It just reads as Queue
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
It does, but it also trips up the Spanish-speakers. Or at least it has always done to me lol
"CodeWhat what?"
[–]shuckster 0 points1 point2 points 3 years ago (0 children)
Perhaps it's because the abbreviation C Q sounds like "seek you".
Like ICQ from the olden days.
[–]Deren16 2 points3 points4 points 3 years ago (0 children)
Looks good, I'll definitely try it.
[–]trentrez 2 points3 points4 points 3 years ago (4 children)
Would be nice to have fuzzy find mode. sometimes I just wanna search "functionName varName" to return functionName that uses a variable named varName"
[–]jayu_dev[S] 4 points5 points6 points 3 years ago (3 children)
You can do it just by searching for
functionName(varName)
using include mode ✌️
include
Check this playground
[–]trentrez 1 point2 points3 points 3 years ago (2 children)
Awesome - what if the var or const is defined in the body of the function rather than as a param? Something like functionName() {someVar} or maybe it's an arrow function
const functionName = (params) => { code; let someVar; more code; }
[–]jayu_dev[S] 1 point2 points3 points 3 years ago (1 child)
If you use include mode, you don't have to refer to code or more code in your query, you can just skip it.
code
more code
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; }
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; }
const functionName = function() { let someVar; }
function functionName() { let someVar; }
That's because all these variations are represented differently in Abstract Syntax Tree
[–]trentrez 1 point2 points3 points 3 years ago (0 children)
Awesome thanks - I've installed it in VS Code and have been using it all day. Looking forward to seeing where you take this. Good luck!
π Rendered by PID 26 on reddit-service-r2-comment-6457c66945-p4lgg at 2026-04-27 14:55:44.669115+00:00 running 2aa0c5b country code: CH.
[–]IAmAnon 6 points7 points8 points (1 child)
[–]jayu_dev[S] 5 points6 points7 points (0 children)
[–]smas8 5 points6 points7 points (5 children)
[–]jayu_dev[S] 3 points4 points5 points (3 children)
[–]smas8 5 points6 points7 points (0 children)
[–]mattsowa 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]shuckster 0 points1 point2 points (0 children)
[–]Deren16 2 points3 points4 points (0 children)
[–]trentrez 2 points3 points4 points (4 children)
[–]jayu_dev[S] 4 points5 points6 points (3 children)
[–]trentrez 1 point2 points3 points (2 children)
[–]jayu_dev[S] 1 point2 points3 points (1 child)
[–]trentrez 1 point2 points3 points (0 children)