project-level dictionary

Hi

A file in my project was showing a typo

The word is slept correctly so I added it to the project-level dictionary

However the PHPStorm still believes it is slept wrongly

This word has been added to the list of allowed words for this dictionary (File->settings->spelling->Dictionaries)

 

Any idea how to fix this?

 

THanks

 

1

Sorry for the previous comment (if I wasn't fast enough to delete it), I got you wrong.
Why wouldn't you right click the word and click Spelling | Type: save 'term' to dictionary?
That is the usual workflow in cases like this one.

0
Avatar
Permanently deleted user

Hi I have tried bothj ways

0

What if you perform Invalidate Caches / Restart, would it get better?

0
Avatar
Permanently deleted user

Make no difference

0

Is it a specific word only, or any custom additions are not being processed?
Please try creating a new project, creating a file having this word and add it to Accepted Words - is it the same?

0
Avatar
Permanently deleted user

It appears to be this particular word that is used in a doc block comment

0

>It appears to be this particular word that is used in a doc block comment

Does that word gets recognized in other places (e.g. inside normal string)?

Maybe it's somehow related to https://youtrack.jetbrains.com/issue/WI-40751 ..?

 

BTW: I assume you meant to use "spelt" not "slept", right?

0
Avatar
Permanently deleted user

Here is some code 

print ("if prepare Cardstream\n");

The word Cardstream is in the list of allowed words but it is shown as a typo in phpstorm.

I have another word in the accepted words list - phpcs
If I misspell this as phpc for example, phpstorm marks it as a typo but the correct spelling does not appear in the list of suggestsions
If this word is spelt correctly no typo is shown

Confusing
1

请先登录再写评论。