Converting short php tags
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
首先,使用外掛程式的 .prettierrc 設定作為組態點,重現 issue 中描述的短 PHP 標籤和縮排案例。閱讀外掛程式的組態和格式化文件,以確定是否支援這些行為。完成的標準是:所要求的標籤轉換和 PHP 縮排行為都有明確的規格,並得到一致的處理或文件說明。
由索引模型根據 Issue 內容生成。
描述
I find few code having shorted PHP tag <? ?> . Is there any way in the configuration if these tags get converted into whole long tag like <?php ?>? This is plugin has abrupt behavior for the shorter tags. Either blank ?> are appended to code since starting short tag is not parsed.
Second point whole the PHP code inside PHP tags remove the tab indent make it in the same line with PHP tag? Any configuration changes for that as well. THough tab-indent is enabled in .prettierrc.
- 主要語言
- PHP
- 星號
- 1.9k
- 分支
- 139
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
prettier/plugin-php 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 62/100
prettier/plugin-php#2416 · 2 則留言 · 6 個 reaction ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 64/100
prettier/plugin-php#2498 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 55/100
prettier/plugin-php#2495 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 55/100
prettier/plugin-php#2494 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 48/100
prettier/plugin-php#2490 ·
維護者通常 1 天內回覆
查看 prettier/plugin-php 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 68/100
-
sync-en
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 2 天內回覆
-
[Area] REST API [Type] Documentation Good First Issue
難度 1/5 1-3 小時 新手友好度 90/100
WordPress/presence-api#584 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 86/100