Help us understand the problem. What is going on with this article?

[mac US配列] phpstormで \ (バックスラッシュ) が入力できない時の対処法

環境

  • MacBook Pro
  • macOS Catalina version 10.15.2
  • US配列キーボード
  • phpstorm 2019.3.3

問題

phpstorm にて\を入力( option + \ )しようとすると、« が入力される
なお、atom や chrome など他のアプリケーションではこの方法で\が入力できる
同様の問題は pycharm といった他の Jetbrains 系の IDE でも見られる模様

対処法

(macの)システム環境設定->キーボード->入力ソース へ移動する
日本語タブを選択し、"¥"キーで入力する文字:\(バックスラッシュ)へと変更する
これでキーボードの \ で\が入力できるようになる
なお、¥ は ( option + Y ) で入力できる

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした