/codeque

Supercharged structural code search and replace tool

Primary LanguageTypeScriptOtherNOASSERTION


Home Page | Docs | Roadmap | Mission | Playground

Supercharged structural code search and replace tool


Overview 📣

CodeQue is structural code search tool for TypeScript and JavaScript projects.

CodeQue can be used to search for any code, from simple symbol search to complex multiline patterns.

It reduces struggle by providing accurate results regardless the formatting noise.

It makes it easy to get familiar with codebase and helps make better decisions as a result.

You can also use it as a linter.

Find out more about the project on codeque.co

ESLint plugin 💅

Use CodeQue ESLint plugin to create custom rules in zero time.

Mark errors or warnings tailored to your codebase.

Installation 👇

yarn add --dev @codeque/eslint-plugin

@codeque/eslint-plugin is currently in beta

Usage ✨

See docs on npm

{
  plugins: ['@codeque'],
  rules: [
    "@codeque/error": ["error", [
      {
        "query": "throw new Error()",
        mode: "include",
        message: "Use only project defined error classes.",
      },
    ]]
  ]
}

Visual Studio Code Extension 🔮

VScode extension aims to make you workflow more efficient.

Read about features

Get VScode Extension from Marketplace

Watch extension in action (external link) 👇

CLI tool 🔥

CodeQue can be used as a CLI tool

Installation 👇

yarn global add @codeque/cli

Usage 🕵️

codeque

codeque cli demo

Find more info in @codeque/cli package docs

Other Platforms 🌶️

CodeQue will be soon available as:

  • Cloud service and integrations for teams