Cov txheej txheem:

Kuv puas tuaj yeem siv PHP hauv Visual Studio?
Kuv puas tuaj yeem siv PHP hauv Visual Studio?

Video: Kuv puas tuaj yeem siv PHP hauv Visual Studio?

Video: Kuv puas tuaj yeem siv PHP hauv Visual Studio?
Video: Ib lo lus Remix Dj - Super zab _ Mob lub siab ua luaj no - Nkauj tshiab 2023 2024, Hlis ntuj nqeg
Anonim

Los ntawm lub neej ntawd, Visual Studio Code los nrog lub PHP Txhawb nqa, tab sis koj ua tau kuj nruab lub PHP lus extensions muaj nyob rau VS Code Marketplace. Koj ua tau nrhiav tus PHP extensions los ntawm sab hauv VS Code hauv Extensions saib (⇧?X) ces koj ua tau xaiv cov extensions siv drop-down daim ntawv los ntawm ntaus ntawv php ib.

Ib yam li ib tug yuav nug, Kuv yuav qhib PHP li cas hauv Visual Studio?

Hauv Visual Studio Code, xaiv "Cov ntaub ntawv" thiab tom qab ntawd " Qhib Folder"thiab xaiv lub nplaub tshev uas muaj koj PHP code. Xaiv qhov Debug Saib los ntawm sab laug tes thiab tom qab ntawd nyem lub pob Debug kom teeb tsa peb qhov chaw debugging. Thawj zaug xaiv Debug khawm nws yuav tsim cov ntaub ntawv debugging configuration.

Qhov thib ob, IDE zoo tshaj rau PHP yog dab tsi? 10 Qhov zoo tshaj plaws PHP Development cuab yeej uas txhua tus tsim tawm yuav tsum tshawb

  • PHPStorm. PHPStorm yog qhov zoo tshaj plaws IDE rau PHP tus tsim tawm thiab tuaj nrog cov txheej txheem tshiab tshaj plaws uas pab txhawb kev txhim kho lub vev xaib nrawm.
  • Eclipse PDT.
  • NetBeans.
  • Sublime Text 3.
  • NuSphere.
  • Zend Studio.
  • Atom.
  • Komodo.

Ntxiv mus, kuv yuav ntxiv PHP code rau Visual Studio li cas?

Nruab Visual Studio Code

  1. Kawm CTRL + SHIFT + P kom khiav ib qho lus txib (aka Command Palette)
  2. Siv cov Command Palette shortcut thiab tshawb rau "Inst Ext"
  3. Siv Command Palette rau "Qhib Cov Neeg Siv Khoom"
  4. Configure PHP-related settings.

PHP EXE nyob qhov twg?

Php . ua exe yog nyob nyob rau hauv ib tug subfolder ntawm tus neeg siv lub profile folder -e.g. C:UsersUSERNAMEAppDataRoamingEbivis. Cov ntaub ntawv loj ntawm Windows 10/8/7/XP yog 28, 739 bytes. Qhov kev pab cuam muaj lub qhov rais pom.

Pom zoo: