Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

Vim and snipMate (plugin) - adding new snippet won't work -


i trying create new snippet snipmate plugin.

i work files called (i.e.) myfile.endfile

all .endfile files should have same "snippet" .html files. did

cp html.snippet endfile.snippet 

in ~/.vim/snippets directory.

snipmate working present snippets, not new created one. suggestions problem?

(btw: after creating new .snippet file, ran :helptags ~/.vim/doc command in vim instance.)

it because snipmate works filetype, vim option set when opening file of particular type.

for exemple, if opening, "index.html" filetype automatically set html.

to see how works, :
:e $vimruntime/filetype.vim

as preliminary test, can :
1. open test.endfile
2. type :set ft=endfile or :set filetype=endfile
3. check if defined snippets work

to automatically add following in .vimrc :
au bufnewfile,bufread *.endfile set filetype=endfile

it means every time read or create new file ending in endfilethe filetype option set endfile.

(the filetype arbitrary string doesn't have identical file extension)


Comments

  1. Casino de Las Vegas - Dr. Maryland
    Casino de Las Vegas. 851 E 제주도 출장안마 Flamingo 양주 출장샵 St, Las Vegas, NV 89109. Website. http://www.casino-de-las-vegas.com/site/. 나주 출장마사지 Casino de Las 서울특별 출장샵 Vegas, 의왕 출장샵 Nevada

    ReplyDelete

Post a Comment

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -