Friday, 24 November 2017

Ci-Snippets2 for Visual Studio Code

 My First Snippets Extension for CodeIgniter PHP Framework now available to download from Visual Studio Marketplace
as an opensource project any one can contribute on Github repo
"" .

Change : Updated new version 1.0.0 with some Bug fixes and added table in for refrance.

Thursday, 23 November 2017

My Vim Setup

Vim is most powerful text editor when i am working on Linux distro i just like to use VIM as default text editing work. That's why its included in my Must have application in Ubuntu list. but slowly slowly for work related environment i started using Windows and then come notepad plus plus yes notepad++ is also great text editor but i am missing some great features and easy productivity text editing which i develop for me when i am using vim on Linux dirtro.

Now when my personal environment i started using MacOS and again start using Vim as great text editor services in my Mac. then now for my Personal (MacOS), Work(Windows) and Development (Linux) environments Vim is Best text editor i found to use.

The following are my Twick and setting in Vim to get most out of Vim to get my work done productive, fast and efficient way.

Vim in Linux : By default vi is inbuilt in unix like OS for vim and for enviorment you can download using package manager example for
Ubuntu like distro : sudo apt-get install vim vim-common -y
Fedora like distro : sudo yum install vim-enhanced

Mac Download Package:
Mac HomeBrew : brew install macvim

Windows download exe from :

Customization Vim :For me or every vim user like to customize vim as per there requirement.

vimrc file : to find or open vimrc file any environmental just type following.
Find Location: in Normal Mode ":echo $MYVIMRC" it will output the file path.
Open vimrc :  in Normal Model ":e $MYVIMRC" makesure vim run on higher rights to allow changes.

Settings as attached simple with some font changes, number and line space

This will active post as i am going to update my vimrc as per my requirements and customization needs.

my updated vimrc file can be view from gist ""

Thursday, 2 November 2017

My Visual Studio Code Settings

When i work on web project my preferred text editor choice is Visual Studio Code 

VSCode runs on all platform Windows, Mac and Linux. as mix environment where for my primary development is Mac but in client side i need to work on windows and some times on Linux distros.

Previously i tried different Text Editors Like Atom (Memory Hungry) crashes often.

 Sublime Text (Not Free).

Atom i like that editor but it crashes often on my mac and heavy process and memory require to run this editor. so when there is no option i started using NetBeans IDE see my Codeigniter plugin for netbeans. yes its also heavy IDE but at least not crash while working. Netbeans is Good IDE but for webproject work i think its very heavy to use Total IDE solution.

So when VS Code is arrived i thought why not give it Try. And i start Like it simple and powerful for web projects and python projects.

when i started using this there are some customization and plugin i like to use in my set of VS code which is i like to share.

Font Size
in Preference (Ctrl + ,)
 "editor.fontSize": 18,

Emmet Trigger
 new VS Code emmet Tab expend is off so in setting
"emmet.triggerExpansionOnTab": true

Workbench Preview
for me its annoying when i click an page its open as preview and if i navigate other page tab currently opened preview page is closed. to change setting
 "workbench.editor.enablePreview": false
    "git.autofetch": true,
    "editor.wordWrap": "on"

Now in Extension market place

CodeIgniter My own Snippets Pack

Working of Laravel Projects
Laravel Blade Snippets

Working on HTML css support

When Working Codeigniter Project or vice versa its better to disable unwanted extensions for that specific work-space.

PHP Intelephense works great with laravel project auto import and class functionality.

Prettier - Code formatter as the name sayes its format the code looks pretty.
after installation make changes in user settings  to make the prettier works on save.
"editor.formatOnSave": true

Live Server pften whenever i am working on UX/UI html files only i used this extension to open local html file on local webserver and live reload so i can monitor the changes on the fly. rather than browsing local html file in browser and reload to check changes effect on html files.

Ping your blog