告诉我如何解决问题? 每次我保存文档时,代码行都会转移到1整行。我怎么能禁用它?谢谢
<?php
/*
Plugin Name: Lottery
Description: Plugin for displaying products from an OSCommerce shopping cart database
*/
add_action('admin_menu', 'function_name');
function function_name(){
add_menu_page( 'page_title', 'menu_title', 'capability', 'menu_slug', 'function1' );
}
function function1(){
/* Plugin Code */
}
?>
答案 0 :(得分:0)
在VSCode中
File > Preferences > Settings
save
editor.formatOnSave
设为false