01-.html 自己新建文件,想改类型,后缀改了没用
Tofloor
poster avatar
xiaohan
deepin
2016-04-24 03:38
Author
这个文件后缀虽然是html,但是类型还是“纯文本文档 (text/plain)”,请问怎么改成html类型呢?
还有,本来想截图的,但是系统截图好像奔溃了,按了截图快捷键以后,桌面四角的功能也奔溃了~~~~~~~
Reply Favorite View the author
All Replies
avatar
xiaohan
deepin
2016-04-24 04:12
#1
https://bbs.deepin.org/post/39038
看内容,写点代码进入

在请教一个问题
sublime text怎么安装插件Emmet,谢谢了
Reply View the author
avatar
lijiwe24
deepin
2016-04-24 05:47
#2
linux不是根据后缀名显示文件类型的,是检测文件头的

新建文件默认格式是文本
Reply View the author
avatar
myTTYY
deepin
2016-04-24 06:03
#3
sublime text怎么安装插件Emmet:
1.打开View->show Console 在底部输入框输入
  1. import urllib2,os; pf='Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler( ))); open( os.path.join( ipp, pf), 'wb' ).write( urllib2.urlopen( 'http://sublime.wbond.net/' +pf.replace( ' ','%20' )).read()); print( 'Please restart Sublime Text to finish installation')
Copy the Code

2.重启Sublime Text 3 如果在Perferences->package settings中看到package control这一项,则安装成功
3.打开package control ,选中Install Package 选项     等待插件查找面板,输入Emmet  选中安装就可以
Reply View the author
avatar
xiaohan
deepin
2016-04-24 06:05
#4
https://bbs.deepin.org/post/39038
sublime text怎么安装插件Emmet:
1.打开View->show Console 在底部输入框输入

都安装了呢,还是没用~~只有Sublime Text 2
我在深度商店下载的呢
Reply View the author
avatar
xiaohan
deepin
2016-04-24 06:05
#5
https://bbs.deepin.org/post/39038
linux不是根据后缀名显示文件类型的,是检测文件头的

新建文件默认格式是文本 ...

哦哦哦,学习了,谢谢
Reply View the author
avatar
myTTYY
deepin
2016-04-24 06:16
#6
https://bbs.deepin.org/post/39038
都安装了呢,还是没用~~只有Sublime Text 2
我在深度商店下载的呢

额。。。好吧!可以用一下 sublime Text3 ,3用着插件是没问题的,不过中文输入是个问题或者重启一下,可能就解决了
Reply View the author
avatar
xiaohan
deepin
2016-04-24 16:33
#7
https://bbs.deepin.org/post/39038
额。。。好吧!可以用一下 sublime Text3 ,3用着插件是没问题的,不过中文输入是个问题或者重启一下,可能 ...

原来之前没有安装好,现在安装好了,只是PYV8无法安装,要我去官网下载,https://github.com/emmetio/pyv8-binaries 就是这个网站,里面好多类目,请问我下载哪个呀~~下载了咋搞咧?
Reply View the author
avatar
isunny
deepin
2016-04-24 17:57
#8
https://bbs.deepin.org/post/39038
原来之前没有安装好,现在安装好了,只是PYV8无法安装,要我去官网下载,https://github.com/emmetio/pyv ...

要么你去慕课网  看sublime的视频  


要么你使用 visual studio code  自带emmet
Reply View the author
avatar
xiaohan
deepin
2016-04-24 20:28
#9
https://bbs.deepin.org/post/39038
要么你去慕课网  看sublime的视频  

好的,谢谢啦
Reply View the author