K
K
Kirill Makarov2020-08-25 13:33:36
webstorm
Kirill Makarov, 2020-08-25 13:33:36

Why doesn't WebStorm automatically change the line separator for the entire project?

I go to setting->Editor->codestyle->lineSeparator
I choose the unix and macOs select, while the webstorm does not change all the separators for me, if you look in the lower right part, then CRLF is saved. And if you manually switch to LF, then everything changes. How can I solve this problem so that everything switches automatically. After each merge with the guys who have a macbook, you have to manually change the components affected by them.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vitsliputsli, 2020-08-25
@kirbi1996

This is not an IDE, this is git, read about choosing newlines in it.

L
Lesha Kiselev, 2015-06-17
@Yakud

The problem is that ajax request cannot be sent from one domain to another.
This is a feature of how browsers work. If it is possible to change the script you are accessing, then you need to add a header to the response:
Or send the parsing to the server.

J
Jeiwan, 2015-06-17
@Jeiwan

The problem is not in the code, but in the fact that cross-domain xhr requests are prohibited on the server. Google the error and find the solution.
habrahabr.ru/post/114432
slyweb.ru/jquery/cross-domain-ajax
enable-cors.org/server.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question