Comments (1)
The issue was pretty unclear about its purpose
I looked at the code apparently. Here are the changes
-export const enum FrontEndLanguage {
- Html = 0,
- JavaScript = 1,
- Tsx = 2,
- Css = 3,
- TypeScript = 4
-}
+ export const enum Lang {
+ Html = 'Html',
+ JavaScript = 'JavaScript',
+ Tsx = 'Tsx',
+ Css = 'Css',
+ TypeScript = 'TypeScript',
+ Bash = 'Bash',
+ C = 'C',
+ Cpp = 'Cpp',
+ CSharp = 'CSharp',
+ Dart = 'Dart',
+ Go = 'Go',
+ Elixir = 'Elixir',
+ Haskell = 'Haskell',
+ Java = 'Java',
+ Json = 'Json',
+ Kotlin = 'Kotlin',
+ Lua = 'Lua',
+ Php = 'Php',
+ Python = 'Python',
+ Ruby = 'Ruby',
+ Rust = 'Rust',
+ Scala = 'Scala',
+ Swift = 'Swift'
+ }
from ast-grep.
Related Issues (20)
- [feature] Support `ast-grep-ignore` in Python API HOT 2
- [feature] support replacing only the first instance of a regex HOT 3
- [feature] allow global utilities to provide meta-variables to their users
- [feature] allow utilities to accept arguments HOT 1
- [feature][new language] Add support for SQL HOT 1
- [feature] improve HTML language extraction for ts/scss
- add test for extract html
- [bug] Missing macOS build for Python 3.10
- support finding injected code in `run` with specified language
- add embedded language section in custom language setting
- support report injected language issue in `scan`
- A way to specify which files to be scanned in sgconfig.yml or rule.yml HOT 2
- [bug] LSP in 0.25.0 does not work if config file is outside the workspace HOT 2
- [bug] LSP propose code action "Fix with ast-grep" on every line HOT 9
- [feature] Allow configuring globally ignored files in `sgconfig.yml` HOT 2
- [bug] File path determined by scan is not consistent HOT 1
- [feature] Allow multiple tests in a single YAML file HOT 1
- [bug] Python API: `SgRoot` removes leading `\n` HOT 2
- [feature] Report unused suppressions / 'ast-grep-ignore' comments
- [feature] Support `ast-grep-ignore` comment on same line as violation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ast-grep.