streetsidesoftware / cspell-dicts Goto Github PK
View Code? Open in Web Editor NEWVarious cspell dictionaries
License: Other
Various cspell dictionaries
License: Other
The build process must depend upon the type of resulting dictionary.
*.txt.gz
file, then we want to build it each time.*.trie.gz
file, then we only want to build it by hand because it can take a very long time.test
script depends upon the type of source, for a hunspell file, we need to use the hunspell reader, for a text file, a standard head
will work."test": "head -n 100 \"go.txt\" | cspell -v -c ./cspell-ext.json --local=* --languageId=go stdin",
"test": "hunspell-reader words -n 1000 \"French.dic\" | cspell -v -c ./cspell-ext.json --local=fr --languageId=* stdin",
npm run build
will fail from the package directory if cspell
, cspell-tools
, and hunspell-reader
are not installed globally.The spellchecker incorrectly accepts 'formated' as a correct spelling, even though it is a misspelling of 'formatted'.
Steps to Reproduce
Type 'formated' into an editor window that is spell checked, either as a standalone or compound identifier.
Expected behavior
Word is marked as misspelled.
Actual behavior
Word is not marked as misspelled.
Version
Version is 1.7.20, default dictionary, formated is not added to cSpell.userWords or cSpell.words, ignoreWords is empty, no cSpell.json files are present. File type: Javascript. Language: 'en,en-GB'
@Zereges
Due to permission issue it is not currently possible to publish updates to cs_CZ dictionary.
Please add: jason-dent
to the list of maintainers:
Package Access
common IT word.
Installing cspell in Visual Code I found two Spanish dictionaries. One that came with the Cspell extension itself and one that I installed separetly.
Both are maintained by you, so I was wondering what differences they have, and why keep two separate Spanish dictionaries.
Thanks
Similar to streetsidesoftware/vscode-spell-checker#161 but the syntax is fr'word'
or rf'word'
Which category i must update for add this following words:
it's almost used in ansible playbooks mark as invalid but it's list a such popular names.
"ansible",
"influxdb",
"ipset",
"nignx",
"swappiness",
"syslog",
"systemctl",
"systemd",
"telegraf",
"wireguard"
Cspell marked these words as incorrect, although they are correct:
Средняя, страницу, базовая, успеха, информационная, требующая, внимания, основная, использовании, разработчика, потребуется, классы, помощью, типов, кнопки, Демонстрация
Would it be possible to add a dictionary for F#? And to enable it (and probably dotnet
) for F#-files by default? It would be greatly appreciated.
Hello,
MediaWiki (mediawiki) is shown as unknown word.
MediaWiki is "wiki software", see https://www.mediawiki.org/wiki/MediaWiki
Thanks for the great plugin. I wanted to add support for Elixir, so I tried creating a dictionary myself.
https://github.com/ndac-todoroki/cspell-dicts/tree/add-elixir
While I tried to follow the instructions written in the README, several things didn't go straghtwards.
In the cspell-dicts repository root.
I'm all done. Running npm install for you to install the required dependencies.If this fails, try running the command yourself.
npm notice created a lockfile as package-lock.json. You should commit this file.
added 38 packages from 21 contributors and audited 94 packages in 6.291s
found 0 vulnerabilities
> [email protected] prepublishOnly /home/todoroki/git/cspell-dicts/test
> cp ../../util/* .
cp: '../../util/*' を stat できません: そのようなファイルやディレクトリはありません
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublishOnly: `cp ../../util/* .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublishOnly script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/todoroki/.npm/_logs/2018-06-21T08_23_37_391Z-debug.log
I think this should be run under packages
(when I did it it went well)
I created an example elixir script and opened it, but the spell checker claimed wrong spellings. I'm not sure whether my smoke-test setups have failed, or, my dictionary files are wrongly configured and thus not working.
It'll be great if you can support me with these two points.
Thanks in advance,
Todoroki
Java and Scala are popular languages that are being used more and more with VS Code (in fact, Code is the only supported IDE for the Scala 3 prototype, Dotty). Simple dictionaries similar to what is provided for Python and other languages would be helpful to catch contractions and terms which are used in these languages.
Hey, I wanted to ask - what's the best way to add support for British variants of software terms such as parameterise
, serialise
etc.? I can see that the dictionary seems to only include the US spelling:
cspell-dicts/packages/software-terms/softwareTerms.txt
Lines 384 to 385 in 4afa7b1
I don't know why, but this extension for IMAP no shows "unknown word", but for SMTP it does. Why?
How can I force Cspell to use the french variant Dictionnaire "Réforme 1990"?
I noticed that CSpell throws errors when you type "AGPL". Maybe we should use something like https://github.com/shinnn/spdx-license-ids to pull in the SPDX license designations?
Found various issues with the generator:
npm link
failed because nsp
was not installed on the system.nsp check
to npm audit
.First issue was caused by the lack of nsp
command on the system, but when I started to look more closely, found out that The Node Security Platform service was shut down 30.9.2018.
nsp package has a huge big warning banner on the top of page, saying that "This package has been deprecated". It would make sense to replace the "prepublish": "nsp check"
with the use of npm audit command. Documentation for it has the exact details about command options, but similar prepublish command compared to the original nsp could be this:
"prepublish": "npm audit"
In addition to that line, we need to remove nsp
package from the required devDependencies.
When running the npm link
command again after doing the previous steps, noticed that it found "16 low severity vulnerabilities in 48756 scanned packages" The recommendation was to "run npm audit fix
to fix 16 of them."
=== npm audit security report ===
# Run npm install --save-dev [email protected] to resolve 7 vulnerabilities
Low Prototype pollution
Package merge
Dependency of jest-cli [dev]
Path jest-cli > jest-haste-map > sane > exec-sh > merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest-cli [dev]
Path jest-cli > jest-runner > jest-haste-map > sane > exec-sh >
merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest-cli [dev]
Path jest-cli > jest-runner > jest-haste-map > sane > watch >
exec-sh > merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest-cli [dev]
Path jest-cli > jest-runner > jest-runtime > jest-haste-map >
sane > exec-sh > merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest-cli [dev]
Path jest-cli > jest-runner > jest-runtime > jest-haste-map >
sane > watch > exec-sh > merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest-cli [dev]
Path jest-cli > jest-runtime > jest-haste-map > sane > exec-sh >
merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest-cli [dev]
Path jest-cli > jest-runtime > jest-haste-map > sane > watch >
exec-sh > merge
More info https://nodesecurity.io/advisories/722
# Run npm update jest-cli --depth 2 to resolve 6 vulnerabilities
Low Prototype pollution
Package merge
Dependency of jest [dev]
Path jest > jest-cli > jest-haste-map > sane > exec-sh > merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest [dev]
Path jest > jest-cli > jest-runner > jest-runtime >
jest-haste-map > sane > exec-sh > merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest [dev]
Path jest > jest-cli > jest-haste-map > sane > watch > exec-sh >
merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest [dev]
Path jest > jest-cli > jest-runtime > jest-haste-map > sane >
exec-sh > merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest [dev]
Path jest > jest-cli > jest-runner > jest-haste-map > sane >
watch > exec-sh > merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest [dev]
Path jest > jest-cli > jest-runtime > jest-haste-map > sane >
watch > exec-sh > merge
More info https://nodesecurity.io/advisories/722
# Run npm update jest-runner --depth 3 to resolve 2 vulnerabilities
Low Prototype pollution
Package merge
Dependency of jest [dev]
Path jest > jest-cli > jest-runner > jest-haste-map > sane >
exec-sh > merge
More info https://nodesecurity.io/advisories/722
Low Prototype pollution
Package merge
Dependency of jest [dev]
Path jest > jest-cli > jest-runner > jest-runtime >
jest-haste-map > sane > watch > exec-sh > merge
More info https://nodesecurity.io/advisories/722
# Run npm update merge --depth 6 to resolve 1 vulnerability
Low Prototype pollution
Package merge
Dependency of jest-cli [dev]
Path jest-cli > jest-haste-map > sane > watch > exec-sh > merge
More info https://nodesecurity.io/advisories/722
found 16 low severity vulnerabilities in 48756 scanned packages
run `npm audit fix` to fix 16 of them.
Before changing anything related to the listed issues, did run npm test
for running Jest test suite.
Noticed that the test suite would fail to run (on the Windows machine under PowerShell terminal environment).
(Replaced full directory path with ---
on the following terminal log, to clear unrelated details from the output.)
> npm test
> [email protected] pretest --- d2s\cspell-dicts\generator-cspell-dicts
> eslint . --fix
(node:9472) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "xo")
> [email protected] test --- d2s\cspell-dicts\generator-cspell-dicts
> jest
console.error node_modules/jest-jasmine2/build/jasmine/Env.js:157
Unhandled error
console.error node_modules/jest-jasmine2/build/jasmine/Env.js:158
Error [ERR_UNHANDLED_ERROR]: Unhandled error. (Error: Did not provide required argument name!)
at Object.<anonymous>.module.exports.emit (events.js:171:17)
at _arguments.forEach ( --- \d2s\cspell-dicts\generator-cspell-dicts\node_modules\yeoman-generator\lib\index.js:351:21)
at Array.forEach (<anonymous>)
at Object.<anonymous>.module.exports.checkRequiredArgs ( --- d2s\cspell-dicts\generator-cspell-dicts\node_modules\yeoman-generator\lib\index.js:347:21)
at Object.<anonymous>.module.exports.parseOptions ( --- d2s\cspell-dicts\generator-cspell-dicts\node_modules\yeoman-generator\lib\index.js:332:10)
at Object.<anonymous>.module.exports.argument ( --- d2s\cspell-dicts\generator-cspell-dicts\node_modules\yeoman-generator\lib\index.js:255:10)
at new Object.<anonymous>.module.exports ( --- d2s\cspell-dicts\generator-cspell-dicts\generators\app\index.js:14:10)
at Environment.instantiate ( --- d2s\cspell-dicts\generator-cspell-dicts\node_modules\yeoman-environment\lib\environment.js:407:12)
at Environment.create ( --- d2s\cspell-dicts\generator-cspell-dicts\node_modules\yeoman-environment\lib\environment.js:385:17)
at RunContext.Object.<anonymous>.RunContext._run ( --- d2s\cspell-dicts\generator-cspell-dicts\node_modules\yeoman-test\lib\run-context.js:90:29)
FAIL __tests__/app.js (26.345s)
generator-cspell-dicts:app
× creates files (20ms)
● generator-cspell-dicts:app › creates files
Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.
at mapper (node_modules/jest-jasmine2/build/queue_runner.js:41:52)
● generator-cspell-dicts:app › creates files
assert.equal(received, expected) or assert(received)
Expected value to be equal to:
true
Received:
false
Message:
dummyfile.txt, no such file or directory
11 |
12 | it('creates files', () => {
> 13 | assert.file([
| ^
14 | 'dummyfile.txt'
15 | ]);
16 | });
at convertArgs.forEach.file (node_modules/yeoman-assert/index.js:56:12)
at Array.forEach (<anonymous>)
at Function.Object.<anonymous>.assert.file (node_modules/yeoman-assert/index.js:54:26)
at Object.it (__tests__/app.js:13:12)
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total
Snapshots: 0 total
Time: 28.139s
Ran all test suites.
npm ERR! Test failed. See above for more details
Not sure how to fix that.
It might be that the bug is already fixed in the latest Jest version.
Updated to the more recent Jest version with: npm install --save-dev [email protected]
After update, did re-run the npm audit
again to find out if there are any known security issues with the used npm packages. npm audit
"found 0 vulnerabilities in 41220 scanned packages."
After that, tried to run npm link
again to see if it would work now.
It completed without any issues.
So it seems that the core issues were the outdated Jest version,
and lack of migration from nsp check
to npm audit
.
After fixing those problems, it is finally possible to install the generator.
After that, tried re-running the npm test
to see if the test results would have changed.
Still the same as before, but at least the main issues are now fixed.
I have the word amitité
(misspell of "amitié") which is not detected. I don't have it in my user words so it should be flagged as misspelling.
It is not in the words list so it may have something to do with something else?
2 days ago, I submitted a danish dictionary.
It seems like something have gone wrong when compressing da_DK.trie.gz
The file is only 20 bytes large, and when I uncompress the file, only an empty file comes out. Link to file.
I have tried to compress the .dic file using cspell-tools, but this also generates a .trie.gz
with the size of 20 bytes.
$ cspell-tools compile-trie da_DK.dic
Compile:
output: default
compress: true
files:
da_DK.dic
Process "da_DK.dic" to "da_DK.trie.gz"
Complete.
I have tried to load the .dic file uncompressed in my user settings:
"cSpell.dictionaryDefinitions": [
{
"name": "danish",
"path": "/Users/viktorstrate/Documents/dictionaries/da_DK.dic",
"description": "Danish dictionary"
}
],
But it doesn't look like it reconizes the affix file (.aff) located at "/Users/viktorstrate/Documents/dictionaries/da_DK.aff". Do I have to specify this path in my user settings, for cspell to use it?
Currently I use a 4,5mb wordlist, this works fine, but the CPU running at 100% when loading the word list.
"cSpell.dictionaryDefinitions": [
{
"name": "danish-wordlist",
"path": "/Users/viktorstrate/Documents/dictionaries/da_DK.txt",
"description": "Danish (txt wordlist)"
}
],
EDIT:
It looks like this is a problem with hunspell-reader
, as it cannot convert the dic and aff files. streetsidesoftware/hunspell-reader#2
It looks like doesn
is in the powershell dictionary, but not in a general English dictionary.
Should it be doesn’t
and doesn't
? Or is punctuation like that not supported and generally ignored, resulting in partial-words being added like doesn
?
I'll keep this brief.
I notice you have this http://jpetrie.net/wp-content/uploads/custom_scientific_US.dic
But do not appear to have the UK version http://jpetrie.net/wp-content/uploads/custom_scientific_UK.dic
Thanks,
tecosaur
Hi.
I getting those errors after enabling the Hebrew dictionary
`c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\util\hostReportError.js:9
setTimeout(function () { throw err; });
^
Error: Unknown file format
at SafeSubscriber.headerLines.pipe.subscribe.headerRows [as _next] (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\cspell-trie\dist\lib\importExport.js:131:19)
at SafeSubscriber.__tryOrUnsub (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:263:16)
at SafeSubscriber.next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:201:22)
at Subscriber._next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:139:26)
at Subscriber.next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:103:18)
at DefaultIfEmptySubscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\operators\defaultIfEmpty.js:78:30)
at DefaultIfEmptySubscriber.Subscriber.complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:128:18)
at TakeLastSubscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\operators\takeLast.js:112:21)
at TakeLastSubscriber.Subscriber.complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:128:18)
at ScanSubscriber.Subscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:146:26)
[Info - 12:00:58 AM] Connection to server got closed. Server will restart.
c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\util\hostReportError.js:9
setTimeout(function () { throw err; });
^
Error: Unknown file format
at SafeSubscriber.headerLines.pipe.subscribe.headerRows [as _next] (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\cspell-trie\dist\lib\importExport.js:131:19)
at SafeSubscriber.__tryOrUnsub (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:263:16)
at SafeSubscriber.next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:201:22)
at Subscriber._next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:139:26)
at Subscriber.next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:103:18)
at DefaultIfEmptySubscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\operators\defaultIfEmpty.js:78:30)
at DefaultIfEmptySubscriber.Subscriber.complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:128:18)
at TakeLastSubscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\operators\takeLast.js:112:21)
at TakeLastSubscriber.Subscriber.complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:128:18)
at ScanSubscriber.Subscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:146:26)
[Info - 12:00:59 AM] Connection to server got closed. Server will restart.
[Error - 12:00:59 AM] Request textDocument/codeAction failed.
Error: Connection got disposed.
at Object.dispose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\main.js:825:25)
at Object.dispose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:57:35)
at LanguageClient.handleConnectionClosed (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:1967:42)
at LanguageClient.handleConnectionClosed (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\main.js:126:15)
at closeHandler (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:1954:18)
at CallbackList.invoke (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:71:39)
at Emitter.fire (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:135:36)
at closeHandler (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\main.js:221:26)
at CallbackList.invoke (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:71:39)
at Emitter.fire (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:135:36)
at IPCMessageReader.AbstractMessageReader.fireClose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\messageReader.js:135:27)
at ChildProcess. (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\messageReader.js:253:61)
at emitTwo (events.js:131:20)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.ChildProcess.spawn.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe.Socket._destroy.cb._handle.close [as _onclose] (net.js:554:12)
c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\util\hostReportError.js:9
setTimeout(function () { throw err; });
^
Error: Unknown file format
at SafeSubscriber.headerLines.pipe.subscribe.headerRows [as _next] (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\cspell-trie\dist\lib\importExport.js:131:19)
at SafeSubscriber.__tryOrUnsub (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:263:16)
at SafeSubscriber.next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:201:22)
at Subscriber._next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:139:26)
at Subscriber.next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:103:18)
at DefaultIfEmptySubscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\operators\defaultIfEmpty.js:78:30)
at DefaultIfEmptySubscriber.Subscriber.complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:128:18)
at TakeLastSubscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\operators\takeLast.js:112:21)
at TakeLastSubscriber.Subscriber.complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:128:18)
at ScanSubscriber.Subscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:146:26)
[Info - 12:00:59 AM] Connection to server got closed. Server will restart.
[Error - 12:00:59 AM] Request textDocument/codeAction failed.
Error: Connection got disposed.
at Object.dispose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\main.js:825:25)
at Object.dispose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:57:35)
at LanguageClient.handleConnectionClosed (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:1967:42)
at LanguageClient.handleConnectionClosed (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\main.js:126:15)
at closeHandler (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:1954:18)
at CallbackList.invoke (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:71:39)
at Emitter.fire (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:135:36)
at closeHandler (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\main.js:221:26)
at CallbackList.invoke (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:71:39)
at Emitter.fire (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:135:36)
at IPCMessageReader.AbstractMessageReader.fireClose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\messageReader.js:135:27)
at ChildProcess. (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\messageReader.js:253:61)
at emitTwo (events.js:131:20)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.ChildProcess.spawn.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe.Socket._destroy.cb._handle.close [as _onclose] (net.js:554:12)
c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\util\hostReportError.js:9
setTimeout(function () { throw err; });
^
Error: Unknown file format
at SafeSubscriber.headerLines.pipe.subscribe.headerRows [as _next] (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\cspell-trie\dist\lib\importExport.js:131:19)
at SafeSubscriber.__tryOrUnsub (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:263:16)
at SafeSubscriber.next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:201:22)
at Subscriber._next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:139:26)
at Subscriber.next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:103:18)
at DefaultIfEmptySubscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\operators\defaultIfEmpty.js:78:30)
at DefaultIfEmptySubscriber.Subscriber.complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:128:18)
at TakeLastSubscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\operators\takeLast.js:112:21)
at TakeLastSubscriber.Subscriber.complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:128:18)
at ScanSubscriber.Subscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:146:26)
[Info - 12:01:00 AM] Connection to server got closed. Server will restart.
[Error - 12:01:00 AM] Request textDocument/codeAction failed.
Error: Connection got disposed.
at Object.dispose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\main.js:825:25)
at Object.dispose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:57:35)
at LanguageClient.handleConnectionClosed (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:1967:42)
at LanguageClient.handleConnectionClosed (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\main.js:126:15)
at closeHandler (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:1954:18)
at CallbackList.invoke (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:71:39)
at Emitter.fire (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:135:36)
at closeHandler (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\main.js:221:26)
at CallbackList.invoke (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:71:39)
at Emitter.fire (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:135:36)
at IPCMessageReader.AbstractMessageReader.fireClose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\messageReader.js:135:27)
at ChildProcess. (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\messageReader.js:253:61)
at emitTwo (events.js:131:20)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.ChildProcess.spawn.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe.Socket._destroy.cb._handle.close [as _onclose] (net.js:554:12)
c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\util\hostReportError.js:9
setTimeout(function () { throw err; });
^
Error: Unknown file format
at SafeSubscriber.headerLines.pipe.subscribe.headerRows [as _next] (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\cspell-trie\dist\lib\importExport.js:131:19)
at SafeSubscriber.__tryOrUnsub (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:263:16)
at SafeSubscriber.next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:201:22)
at Subscriber._next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:139:26)
at Subscriber.next (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:103:18)
at DefaultIfEmptySubscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\operators\defaultIfEmpty.js:78:30)
at DefaultIfEmptySubscriber.Subscriber.complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:128:18)
at TakeLastSubscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\operators\takeLast.js:112:21)
at TakeLastSubscriber.Subscriber.complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:128:18)
at ScanSubscriber.Subscriber._complete (c:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\server\node_modules\rxjs\internal\Subscriber.js:146:26)
[Error - 12:01:01 AM] Connection to server got closed. Server will not be restarted.
[Error - 12:01:01 AM] Request textDocument/codeAction failed.
Error: Connection got disposed.
at Object.dispose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\main.js:825:25)
at Object.dispose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:57:35)
at LanguageClient.handleConnectionClosed (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:1967:42)
at LanguageClient.handleConnectionClosed (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\main.js:126:15)
at closeHandler (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-languageclient\lib\client.js:1954:18)
at CallbackList.invoke (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:71:39)
at Emitter.fire (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:135:36)
at closeHandler (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\main.js:221:26)
at CallbackList.invoke (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:71:39)
at Emitter.fire (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\events.js:135:36)
at IPCMessageReader.AbstractMessageReader.fireClose (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\messageReader.js:135:27)
at ChildProcess. (C:\Users\Igor.vscode\extensions\streetsidesoftware.code-spell-checker-1.6.10\node_modules\vscode-jsonrpc\lib\messageReader.js:253:61)
at emitTwo (events.js:131:20)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.ChildProcess.spawn.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe.Socket._destroy.cb._handle.close [as _onclose] (net.js:554:12)
`
I've noticed that on shell scripts, the word esac
is shown as an error. esac
is the end statement for the case
command, which is analogous to switch
in many other languages.
I was trying to figure out how your dictionaries files work, but it seems that shell scripts might just use a combination of other dictionaries, so I wasn't sure where (or how) to contribute.
Words are here: https://github.com/AlekSi/go-words/blob/master/go.txt
Not sure if https://github.com/Jason3S/cspell-dicts/tree/master/golang or https://github.com/Jason3S/cspell/tree/master/migrated_dictionaries should be updated. Probably one of them should be removed?
Noticed that the Yeoman generator is missing the link.js
file.
It is not possible to link run npm run cspell-link
without it.
➜ fonts git:(master) ✗ npm run cspell-link
> [email protected] cspell-link [edited the full file system path out] /cspell-dicts/fonts
> node link.js
module.js:491
throw err;
^
Error: Cannot find module ' [edited the full file system path out] /cspell-dicts/fonts/link.js'
at Function.Module._resolveFilename (module.js:489:15)
at Function.Module._load (module.js:439:25)
at Function.Module.runMain (module.js:609:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:578:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] cspell-link: `node link.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] cspell-link script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Besides of that, apparently there should also be unlink.js
and util.js
so that the npm task would work properly. Copied such files manually from the recent fr_FR
dictionary's directory to see whether things would work. Looks like that those files would either need to be added to the template, or alternatively the npm tasks could be updated to use some central tool instead of spreading similar files to each of the template directories.
A lot of proper french words are being categorised as invalid spellings.
Particularily anything that seems to be an elision
https://en.wikipedia.org/wiki/Elision_(French)
Some very common french words that are showing up as misspellings:
c'est
d'un
d'une
j'aime
Basically any (Maybe not) word that is an elision is showing up as an error.
The number of requests to add words to dictionaries has been growing. The existing pull-request method is a barrier to entry for the casual user. It is a bit too much to ask them to fork the repository just to add a word to a dictionary.
A simple way for users to suggest words to be added combined with a simple way to accept the words.
Great extension for vscode! Would be great to add Clojure(script) support. Would be happy to lend a hand.
This words are related to blockchain development:
The extension detects pcall
as a wrong word but it's a Lua API.
Been using cSpell for a while, and I've got a bunch of words in my user dictionary.
If you tell me the process, I can make a pull request with these, and some of the other words people have suggested in the issues. I'm not sure I agree with #181 for "ethereum", or "mempool", but "cryptocurrency" should definitely be a word.
arborescence
dataset
datasets
deobfuscate
deobfuscated
deobfuscates
deobfuscation
deobfuscator
deobfuscators
deregister
deregistered
queryable
recurse
recursed
recurses
recursing
reddit
reddit's
repurpose
repurposed
repurposes
repurposing
serializable
subreddit
subreddit's
unregister
I was looking to see if I could clean up the cpp dictionary since i've hit a few questions. It looks like it was probably sourced from some header files for some different things (EX: found that a chunk was from the CUPS printer header files).
I'm wondering what should be in here?
I'll submit some PRs for some things, but I was wondering if these should get split into separate files, then rejoined at the compile time.
Can I report missing words?
In the Persian dictionary, some words are missing, about 172 Iran city names.
"آبیک"
"آخوندمحله"
"آخوندملک"
"آشار"
"آشخانه"
"آقاجاری"
"آقاحسن"
"آقچه"
"آلمالو"
"آناخاتون"
"اباتر"
"احمدان"
"ارجویه"
"اردجان"
"ارزیل"
"ارشادمحله"
"اروانه"
"اروجعلیلو"
"ازگنین"
"استرقان"
"استوه"
"اسطلخ"
"اسفزار"
"اسفه"
"افتر"
"اقبالیه"
"الشتر"
"الوم"
"الینجق"
"امیرکلا"
"اندرمان"
"اندرگان"
"انگنه"
"اوبه"
"اژدهابلوچ"
"ایرا"
"باباباغی"
"بارازلو"
"براب"
"برداسکن"
"برغان"
"بروغن"
"بهجان"
"بوانات"
"بوزایه"
"بولالو"
"بوچیر"
"بوکت"
"بیدخت"
"بیرلان"
"بیهود"
"بیوران"
"بیورزین"
"تجرق"
"تدرویه"
"تشنیز"
"تلاجیم"
"تورنگ"
"توشمانلو"
"تولون"
"تپیک"
"جامغان"
"جنبذ"
"حاجیلار"
"حماملو"
"خراشاد"
"خرمکوه"
"خرگرد"
"خشکرود"
"خناوین"
"خوانسر"
"خیاروه"
"دارباغ"
"دازگاره"
"دانالو"
"درازاب"
"دلازیان"
"دهبارز"
"دهتل"
"دهلاویه"
"دهکستان"
"دودران"
"دولوئی"
"دیزج"
"رازیان"
"رامیان"
"راژان"
"رحمانلو"
"رزجرد"
"رشتخوار"
"رودبست"
"ریاب"
"زاغل"
"زرینشهر"
"زواجر"
"ساسولی"
"ساوان"
"سرابله"
"سندگان"
"سنگرتپه"
"سهرون"
"سودکلا"
"سپیداره"
"سیاوشان"
"سیوان"
"شیشوان"
"طلائیه"
"طورآغای"
"طینوج"
"عبدیا"
"عجبشیر"
"فداغ"
"فرخشهر"
"فریدونشهر"
"فشند"
"فشندک"
"فولادمحله"
"قائمشهر"
"قبادبزن"
"قروق"
"قهدریجان"
"قوزلوجه"
"قیصرق"
"لاسجرد"
"لاور"
"لجران"
"لسکه"
"لمزان"
"مراغان"
"مرانک"
"مراکان"
"مرقشه"
"مزایجان"
"مغدان"
"مهویزان"
"مورود"
"نامق"
"نانسا"
"ناهارخوران"
"ناچیت"
"نبرین"
"هرزویل"
"هروان"
"هرگلان"
"هنگویه"
"وادقان"
"واریان"
"وسفونجرد"
"ولینجق"
"پازنویه"
"پلگی"
"پوده"
"چاشم"
"چرزه"
"چلگرد"
"چنشت"
"چهاربرود"
"چهرقان"
"چوپانکره"
"کاشانتو"
"کامیاران"
"کبودر"
"کلیبر"
"کمشک"
"کهلا"
"کوخرد"
"کودزر"
"کوراکش"
"کوشال"
"گراش"
"گرناویک"
"گوابر"
^ title
Bech is used as Bech32 address format
In the English dictionary:
While starting to create a new dictionary package (companies), I noticed that running build process takes a lot of time. In this case, I took a screenshot after 15 minutes, but the build process continued running until I closed it manually (after 16 minutes since starting).
Command used to build the dictionary:
npm run build
Dictionary file companies.txt
contents are basically almost empty:
Apple
Just wondering if this is an expected behaviour from cspell-tools
or have I found a bug?
Different from #93:
Pronominal verbs at first person (with m') are flagged as misspelled:
submodule is a git thing you know.
I'm using language en-GB
, but I imagine this is the case for all English dictionaries.
Used for <a>
link tag property. <a rel="noopener nofollow" target="_blank">Some words</a>
Hello,
I am using your extension. It's really Awesome. But I found one error. Every time when I write Joomla word. It always suggests to me to change the content but this is actually a word.
Thanks,
Chandan
While the term originates from https://en.gravatar.com/ (https://en.wikipedia.org/wiki/Gravatar_(web_service)), I've seen it becoming popular and saw it in some large codebases. Was thinking about adding gravatar
& gravatars
, which package would be best?
·
being is not recognized, it's a common html entity.
https://www.toptal.com/designers/htmlarrows/punctuation/middle-dot/
Apologies for so many issues.
I wanted to add those under the companies folder, but I'm not sure if they will fit there
they are :
"unpkg",
"reddit",
"xbox",
"whatsapp",
"snapchat",
"xing",
"vimeo",
"tumblr",
"undraw",
"crowdin",
"docusaurus",
"dayjs",
"reactstrap"
Could maybe someone show me where and if I should add those
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.