Last Update: 2016/09/07 21:43+08
http://download.eclipse.org/windowbuilder/WB/release/R201309271200/4.3/
2014年11月7日 星期五
Eclipse - CDT for C/C++
Last Update: 2014/11/09 14:23+08
Type: Note
Eclipse 安裝 CDT(C/C++ Development Tools)
Help
-> Instal New Software...
-> 選Eclipse版本 ex. Mars - http://download.eclipse.org/releases/mars
-> 勾選 Programming Language-> C/C++ Development Tools 和 C/C++ Development Tools SDK
Type: Note
Intro
Eclipse 安裝 CDT(C/C++ Development Tools)
Help
-> Instal New Software...
-> 選Eclipse版本 ex. Mars - http://download.eclipse.org/releases/mars
-> 勾選 Programming Language-> C/C++ Development Tools 和 C/C++ Development Tools SDK
2014年7月21日 星期一
Eclipse & PHP
Last Update: 2014/07/24 15:32+08
Help > Install New Software
> Work with: Kepler(your eclipse version) http://download.eclipse.org/xxxxxxxxx
> Programming Language
>勾選PHP Development Tool (PDT)
Next Next Next ...
P.S: Linux 可能要先download core: https://eclipse.org/pdt/#download
若發現沒有 auto complete 時
可以在 Project Build Path 重新設定 src目錄
另外也可以在專案目錄裡找到 .buildpath 的檔案, 去修改
src: 你自己寫的php code
con: PHP 的 Core API
PDT install
Help > Install New Software
> Work with: Kepler(your eclipse version) http://download.eclipse.org/xxxxxxxxx
> Programming Language
>勾選PHP Development Tool (PDT)
Next Next Next ...
P.S: Linux 可能要先download core: https://eclipse.org/pdt/#download
.buildpath
在新增PHP project時, 可以設定 src目錄若發現沒有 auto complete 時
可以在 Project Build Path 重新設定 src目錄
另外也可以在專案目錄裡找到 .buildpath 的檔案, 去修改
<buildpath> <buildpathentry kind="src" path="war"/> <buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/> </buildpath>auto complete 會用到的2個設定
src: 你自己寫的php code
con: PHP 的 Core API
2014年6月14日 星期六
2014年4月8日 星期二
gcc/g++ in Windows - MinGW & Cygwin
Last Update: 2014/04/09 09:35+08
Type: Note
官網(http://www.mingw.org/)下載 MinGW installer
Install
選擇要安裝的資料夾(避免空白和符號)
在選擇 package 時, 將 [Basic Setup] 全部 mark 起來
> Apply Changes
Set Environment Variables
將/bin 加入 環境變數中的 PATH
Eclipse > Project > 右鍵 Properties
> C/C++ General
> Paths and Symbols
> Include
> 在 GNU C Or GNU C++ 加入 <install dir>/include
> 在 Library Paths 加入 <install dir>/lib
官網(http://cygwin.com/install.html)下載 Cygwin installer
Install
> 照指示安裝
過程中有 Local Package Directory, 會把安裝檔載在這, 下次安裝就不用再次下載
> Select Packages 時, 搜尋 "gcc-g++"
安裝 Devel 裡的
cygwin32-gcc-g++: GCC for Cygwin 32 bit toolchain (C++)
gcc-g++: GNU Compiler Collection (C++)
[無效]cmake: Cross-platform makefile generation system
make: The GNU version of the 'make' utility
Set Windows Environment Variables
新增 CYGWIN_HOME=<install dir>
PATH加入 %CYGWIN_HOME%/bin
Type: Note
---MinGW---
Download官網(http://www.mingw.org/)下載 MinGW installer
Install
選擇要安裝的資料夾(避免空白和符號)
在選擇 package 時, 將 [Basic Setup] 全部 mark 起來
> Apply Changes
Set Environment Variables
將
Eclipse > Project > 右鍵 Properties
> C/C++ General
> Paths and Symbols
> Include
> 在 GNU C Or GNU C++ 加入 <install dir>/include
> 在 Library Paths 加入 <install dir>/lib
---Cygwin---
Download官網(http://cygwin.com/install.html)下載 Cygwin installer
Install
> 照指示安裝
過程中有 Local Package Directory, 會把安裝檔載在這, 下次安裝就不用再次下載
> Select Packages 時, 搜尋 "gcc-g++"
安裝 Devel 裡的
cygwin32-gcc-g++: GCC for Cygwin 32 bit toolchain (C++)
gcc-g++: GNU Compiler Collection (C++)
[無效]cmake: Cross-platform makefile generation system
make: The GNU version of the 'make' utility
Set Windows Environment Variables
新增 CYGWIN_HOME=<install dir>
PATH加入 %CYGWIN_HOME%/bin
2014年3月20日 星期四
Google Project with SVN
Last Update: 2014/03/20 23:30+08
Type: Note (未完)
到 tortoisesvn 下載 SVN 工具
> 照指示安裝
> 建一個資料夾
> 點右鍵 [SVN Checkout...]
> URL of repository: "https://<google project name>.googlecode.com/svn/trunk/"
> Click OK
有更動要 Commit 的話
用 google account, 但密碼是用 google project專用的
先到 subclipse.tigris.org 的 subclipse Download and Install 找你要的版本(for eclipse, e.q. http://subclipse.tigris.org/update_1.10.x) 並複製起來
在 Eclipse
> Help
> Install New Software ...
> Work with: "http://subclipse.tigris.org/update_1.10.x" (剛才複製的網址)
> 中間的核取清單 勾選 [Subclipse]
> [Next]
> 其餘用 default 到安裝完, 重啟
從你的 Google Project 首頁 的頁籤中, 找到 Source
它會有個 Checkout 的連結 一般為 https://<google project name>.googlecode.com/svn/trunk/
在Eclipse
> Window
> Show View
> Other
> SVN/SVN Repositories (SVN檔案庫)
> OK
> 在新開啟的window(SVN檔案庫) 空白處按右鍵
> 新增 > 檔案庫位置
> Url: "https://<google project name>.googlecode.com/svn/trunk/"
> Finish
在Eclipse
> 在你的 Project 上, 點擊右鍵
> Team > Share Project ...
> 選 [SVN]
> Click [Next]
> 使用現有檔案庫位置(剛剛新增的)
> 接著照指示操作
Type: Note (未完)
Apply for a new Google Project
(待續...)TortoiseSVN
到 tortoisesvn 下載 SVN 工具
> 照指示安裝
> 建一個資料夾
> 點右鍵 [SVN Checkout...]
> URL of repository: "https://<google project name>.googlecode.com/svn/trunk/"
> Click OK
有更動要 Commit 的話
用 google account, 但密碼是用 google project專用的
Eclipse Install Subclipse
先到 subclipse.tigris.org 的 subclipse Download and Install 找你要的版本(for eclipse, e.q. http://subclipse.tigris.org/update_1.10.x) 並複製起來
在 Eclipse
> Help
> Install New Software ...
> Work with: "http://subclipse.tigris.org/update_1.10.x" (剛才複製的網址)
> 中間的核取清單 勾選 [Subclipse]
> [Next]
> 其餘用 default 到安裝完, 重啟
Eclipse connect to google project
從你的 Google Project 首頁 的頁籤中, 找到 Source
它會有個 Checkout 的連結 一般為 https://<google project name>.googlecode.com/svn/trunk/
在Eclipse
> Window
> Show View
> Other
> SVN/SVN Repositories (SVN檔案庫)
> OK
> 在新開啟的window(SVN檔案庫) 空白處按右鍵
> 新增 > 檔案庫位置
> Url: "https://<google project name>.googlecode.com/svn/trunk/"
> Finish
---Share Project---
將Project更新上去在Eclipse
> 在你的 Project 上, 點擊右鍵
> Team > Share Project ...
> 選 [SVN]
> Click [Next]
> 使用現有檔案庫位置(剛剛新增的)
> 接著照指示操作
---取回專案---
(待續...)2013年8月23日 星期五
Eclipse 常用設定
Last Update: 2013/08/24 13:59+08
Type: Note
Eclipse 常用的一些設定
複製下面語句, 放在最上面, 一定要最上面
Window -> Perference -> General -> Workspace -> Text file encoding 改成 utf-8
Window -> Perference -> Web-> XXX -> Encoding 改成 utf-8 (這邊是Create File時)
若用html 可加上
但有可能會在 html 開始前 印出(echo, print and so on)訊息 然後中止response, 所以還是看情況加
到 Windows -> Prefereces -> General -> Appearance -> Colors and Fonts -> Basic -> Text Font -> 編輯修改成剛剛安裝的字型
Type: Note
Intro & Content
Eclipse 常用的一些設定
===使用特定JDK===========================
在 %Eclipse Home%/eclipse.ini複製下面語句, 放在最上面, 一定要最上面
-vm C:/Program Files/Java/jdk1.6.0_45/bin/javaw.exe
===Encoding===========================
Window -> Perference -> General -> Content Types -> 把每個type 的 Default encoding 都 update 成 utf-8Window -> Perference -> General -> Workspace -> Text file encoding 改成 utf-8
Window -> Perference -> Web-> XXX -> Encoding 改成 utf-8 (這邊是Create File時)
若用html 可加上
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />若用 JSP 可在檔頭加
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>若用 PHP 可在檔頭加
<?php
header("Content-Type:text/html; charset=utf-8");
?>
雖然這3者意義相同但有可能會在 html 開始前 印出(echo, print and so on)訊息 然後中止response, 所以還是看情況加
===中文字型太小===========================
安裝 YaHei.Consolas.1.12.ttf 字型到 Windows -> Prefereces -> General -> Appearance -> Colors and Fonts -> Basic -> Text Font -> 編輯修改成剛剛安裝的字型
訂閱:
文章 (Atom)