Eclipse for android 设置代码提示功能1、设置 java 文件的代码提示功能打 开
Eclipse 依次选择 Window > Preferences > Java > Editor - Content Assist >
Auto activation triggers for J...
分类:
移动开发 时间:
2014-05-08 19:16:31
阅读次数:
513
设置js文件的默认编码格式为UTF-8
在Windows->Preference页面中,选择General->Content Types
在右边的框中,选择Text->Javascript,将下面的Default Encoding改为utf-8 设置workspace的编码格式为UTF-8
在...
分类:
系统相关 时间:
2014-05-08 17:45:14
阅读次数:
385
publicvoidDownLoad(stringwordcode,stringwordname,stringwordcopyright)
{
stringoutfn="p_w_upload;filename={0}.txt";
Response.ContentType="application/txt;charset=GB2312";
Response.AddHeader("Content-Disposition",string.Format(outfn,wordcode));
Response.Write..
分类:
其他好文 时间:
2014-05-08 16:50:54
阅读次数:
269
SharedPreferences对象----->getXXXSharedPreferences.Editor对象---->putXXX
分类:
其他好文 时间:
2014-05-08 07:30:06
阅读次数:
193
Restoring Purchased ProductsUsers restore
transactions to maintain access to content they’ve already purchased. For
example, when they upgrade to a ne...
分类:
移动开发 时间:
2014-05-07 17:06:59
阅读次数:
869
RCP Editor 修改状态,Editor被修改后,在关闭Editor时提示用户保存的实现步骤。
1、Editor中声明
private boolean dirty;
2、重写isDirty
@Override
public boolean isDirty() {
return dirty;
}
3、设置方法
public void setDirty(boolea...
分类:
其他好文 时间:
2014-05-07 15:48:38
阅读次数:
242
一般情况下alt+/有代码提示作用,还有代码提示的快捷代码也不是alt+/,因此要恢复代码提示用alt+/.需要做两件事.
在 Window - Preferences - General - Keys 内
1、把word completion的快捷键设置alt+C
2、把Content Assist的快捷键由ctrl+space改成alt+/
如果还是不提示,极有可能是提示功...
分类:
系统相关 时间:
2014-05-07 12:05:56
阅读次数:
411
新建一个文本文档,打开,输入以下字符Windows Registry Editor
Version
5.00[HKEY_CLASSES_ROOT\*\shell\runas]@="管理员取得所有权""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\*\shell\r...
分类:
其他好文 时间:
2014-05-07 01:30:55
阅读次数:
312
这是 data.chatFileModelJson = [dic valueForKey:@"Text"];时的数据
{
Content = "s\U5de5\U56fd\U4e2d\U53e5\U53f7\U4e2d\U56fdd";
FileKey = "";
Url = "http://m.im2x.com/d";
}
想要不转码的string j...
分类:
Web程序 时间:
2014-05-06 21:05:26
阅读次数:
384