摘要 程序员总是会不断的重复写一些简单的代码片段,为了提高编码效率,我们可以把经常用到的代码保存起来再调用. 平时用sublime安装各种插件,使用Tab键快速补全,便是snippets(可译为代码片段)的一种. Sublime编辑器还提供了自定义代码片段的功能(当然不止Sublime有此功能),其官方文档中定义如下: Whether you are coding or writing the next vampire best-seller, you're likely to need cer
这回使用visual studio code折腾php代码的调试,又是一顿折腾,无论如何都进不了断点.好在就要放弃使用visual studio code工具的时候,折腾好了,汗~ 这里把步骤记录下来: 1.安装一站式php工具wampserver 我安装的是最新的3.1.3 64bit的版本,这个版本内置了4个版本的php,默认使用的是php 5.6.35.如果需要调试php,必须要使用php 7.0以上的版本,这个可能是跟我使用的visual studio code的php插件有关.这里切换
Atitit.ide代码块折叠插件 eclipse 1. User Defined Regions #region ... #endregion 插件com.cb.eclipse.folding 1 2. If else for 折叠插件 1 3. 在eclipse 中开启设置代码折叠功能 Ctrl+Shift+Numpad_Divede(小键盘的/号) 2 4. 2 1. User Defined Regions #region ... #endregion 插件com.cb