Giter Site home page Giter Site logo

get-woke / vscode-woke Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 2.0 3.77 MB

VS Code extension for woke

Home Page: https://marketplace.visualstudio.com/items?itemName=get-woke.vscode-woke

License: MIT License

TypeScript 88.88% JavaScript 7.27% Dockerfile 3.85%
vscode-extension woke linter inclusive

vscode-woke's People

Contributors

caitlinelfring avatar dependabot[bot] avatar eedorenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vscode-woke's Issues

Custom args are not working.

I am trying to add my own custom set of words and alternate words and cannot seem to find the right combination to get this to work. I'd really like to use this as it is a great feature to have when writing.

Option 1:
I've attempted to add the words in the settings under Woke: Custom Args

master: main, primary, lead, leader
abort: stop, end, cancel
blacklist: deny list, blocked list
mouse: Mickey

This updates the settings.json file with the following entry:

"woke.customArgs": [
"master: main, primary, lead, leader",
"whitelist: allow list, allowed list, approve list, approved list",
"abort: stop, end, cancel",
"blacklist: deny list, blocked list",
"mouse"
],
"woke.run": "onType",

My words are not picked up.

Option 2:
I tried to add a custom dictionary file. Tried both JSON and YAML formatting.

File: /Users/me/Documents/customDictionary.txt

Contents:
master:

  • main
  • primary
  • lead
  • leader
    whitelist:
  • allow list
  • allowed list
  • approve list
  • approved list
    abort:
  • stop
  • end
  • cancel
    black day:
  • blocked day
    blacklist:
  • deny list
  • blocked list

No luck and I get this error now.

Woke: woke failed. Arguments: --stdin-0 json stderr:
Error: yaml: unmarshal errors: line 1: cannot unmarshal
!!str 'master....* into config. Config Usage: woke [globs
... [flags] Flags: -c, --config string Config file (default
is .woke.yaml in current directory, or $HOME) --debug
Enable debug logging -disable-default-rules Disable
the default ruleset-exit-1-on-failure Exit with exit
code on failures -h, -help help for woke --no-ignore
Ignored files in .gitignore, ignore, wokeignore,
git/info/exclude, and inline ignores are processed -O,
-output string Output type [text, simple, github-
actions,json, sonarqube,checkstyle] (default "text")
stdin Read from stdin -V, -- version version for woke

Option 3:

I tried adding the .woke.yaml and woke.yaml to my $HOME directory in JSON and YAML. This returns the same error. Tried this because the custom arg uses JSON.

Option 4:

I tried adding the woke.yaml file to my current directory and ran terminal command against a text.txt.

Contents:

  • name: slave
    terms:

    • slave
      alternatives:
    • follower
    • replica
    • standby
  • name: grandfathered
    terms:

    • grandfathered
      alternatives:
    • legacy status

What am I doing wrong and what should I be doing instead? I would love to use this extension, please help me correct what I am doing wrong.

Kind regards,

Marcus

Add to Open VSX Registry

The idea with https://open-vsx.org/ would be to make it available to VSCodium and Eclipse Theia under the motivation explained in https://www.gitpod.io/blog/open-vsx/ and microsoft/vscode#31168.

Instructions to submit it are in https://github.com/eclipse/openvsx/wiki/Publishing-Extensions.

A big extension available from upstream to the Open VSX Registry would be https://github.com/standard/vscode-standard submitted primarily on https://marketplace.visualstudio.com/items?itemName=standard.vscode-standard and later on https://open-vsx.org/extension/standard/vscode-standard which was raised in standard/vscode-standard#111.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.