锘??xml version="1.0" encoding="utf-8" standalone="yes"?> Synergy 姝f槸涓烘鑰岀敓鐨勫ソ宸ュ叿錛?strong>瀹冨彲浠ヨ浣犵殑澶氬彴鐢?shù)鑴?/span>鍏變韓涓濂楅敭榧狅紝鐢氳嚦榪樺彲浠ュ叡浜壀璐存澘錛?/span>鑰屼綘鍙渶鍔ㄥ姩榧犳爣錛屾寚閽堝氨鍙互杞繪澗鍦板湪鍚勫彴鐢?shù)鑴戝睆骞曚箣闂存潵鍥灲I挎錛屽氨鍍忎竴鍙扮數(shù)鑴戜嬌鐢ㄥ涓樉紺哄櫒涓鏍楓傝屼笖 Synergy 瀹屽叏鍏嶈垂寮婧愶紝騫惰法騫沖彴鏀寔 Win/Mac/Linux錛岀浉褰撶粰鍔涳紒 浣跨敤涔嬪悗錛屽伐浣?a target="_blank" style="text-decoration: initial; color: #0086e3;">鏁堢巼鎻愰珮錛岃吙涓嶉吀鑵頒笉鐤鹼紝妗岄潰涔熷共鍑浜?jiǎn)锛尵l濆鏄粷涓栫鍣ㄥ晩錛?/p> 鎴戠殑妗屽瓙涓婃湁1涓彴寮忔満 (Windows7) 鍜?涓?nbsp;MacBook Pro 絎旇鏈?(Mac OSX)錛屽伓灝?dāng)杩樹(shù)細(xì)鐢ㄥ埌鍙﹀涓鍙扮瑪璁版湰 (Linux/Win鍙岀郴緇? 鍚屾椂鍗忓悓宸ヤ綔錛岃繖鏃跺欐瀛愪笂鐨勯敭榧犱滑寮濮嬫墦鏋朵簡(jiǎn)錛?涓紶鏍?2涓敭鐩橈紝榪樿涓嶆柇縐誨姩韜綋鍘昏縼灝辯數(shù)鑴戠殑浣嶇疆銆傝繖鏃跺欏氨鍙互錛屾垨鑰呰鏄潪甯擱渶瑕?Synergy 鏉ヨВ鏀捐繖縐嶇棝鑻︿簡(jiǎn)錛丱K錛屽紑濮嬪惂…… Synergy 鏈変竴涓嬌鐢ㄥ墠鎻愶紝灝辨槸浣犵殑搴旂敤鐜涓殑澶氬彴鐢?shù)鑴戦渶瑕佸湪鍚屼竴灞鍩熺綉鍐呫傝濡傝錛屽閲屼嬌鐢ㄤ竴涓礬鐢卞櫒鍏變韓涓婄綉鐨勶紝鍏朵笅鐨勫叏閮ㄧ數(shù)鑴戜竴鑸氨鏄湪鍚屼竴灞鍩熺綉鍐呫傚叧浜庡眬鍩熺綉鐨勭煡璇嗗氨涓嶅啀鍦ㄦ闃愯堪浜?jiǎn)锛屼及璁″ぇ瀹堕兘鐭ラ亾鎬庝箞緇勭綉鍚с?/p> 铏界劧 Synergy 鐨勯厤緗拰浣跨敤鍏跺疄騫朵笉闅撅紝浣嗙洰鍓嶅畠鍙湁鑻辨枃鐣岄潰錛岃屼笖鐣岄潰鎴戜釜浜烘劅瑙夊仛寰椾笉鏄緢鏄撶敤錛屽彲鑳芥柊鎵嬪拫鐪嬩笂鍘繪湁鐐規(guī)檿錛屾垜澶ф璇磋瀹冩槸鎬庝箞涓繍浣滅殑鍚с傚綋鐒?dòng)灱寴q欎簨涔熶笉鑳借寰楀お緇嗭紝涓嶇劧澶у灝辨病寰楁姌鑵句簡(jiǎn)錛岃繖涓娌℃姌鑵撅紝寰堝浜哄氨娌′漢鐢熶箰瓚d簡(jiǎn)錛屽埌鏃跺欓粦鐫鑴告潵鎵炬垜灝變笉濂姐?/p> 涓轟簡(jiǎn)綆鍗曡搗瑙侊紝鎴戠幇鍦ㄥ彧閫夌敤宸茬粡鍦ㄥ悓涓灞鍩熺綉涓嬬殑 Macbook Pro 鍜?PC 涓ゅ彴鐢?shù)鑴戝Q岃屼笖涓轟簡(jiǎn)鏁欑▼鏇撮氱敤錛屾垜鎶奙BP涔熷垏鎹㈠埌Win7緋葷粺 (灝辨槸鐜板湪涓ゅ彴鐢?shù)鑴戦兘鏄疻in7浜?錛屽湪瀹冧滑涓兘瀹夎濂?nbsp;Synergy 涔嬪悗錛岄偅涔堟垜浠厛瑕佹寫(xiě)涓鍙頒嬌鐢ㄩ敭榧犵殑鏈哄櫒璁劇疆涓烘湇鍔″櫒绔紝榪欓噷鏄垜鐨勫彴寮忔満銆傚鍥撅細(xì) 鎸?Configure Server 榪涘叆璁劇疆鐣岄潰錛?/strong> 浠庡彸涓婅鎷栧姩涓鍙扮數(shù)鑴戞斁鍒版柟妗嗕腑 (鍒犻櫎鐨勮瘽鏄妸鐢?shù)鑴戝浘鏍囨嫋鏀惧埌宸︿笂瑙掔殑鍨冨溇妗?錛屾ā鎷熺幇瀹炵殑浣嶇疆鎽嗘斁濂姐備緥濡傛垜鐨勫彴寮忔満PC鏄湇鍔″櫒绔紝MacBook 鏄湪鍙板紡鏈虹殑宸﹁竟錛屾寜鍥句腑閭f牱璁劇疆錛岀劧鍚庢妸鍚嶅瓧鏀規(guī)垚瀹㈡埛绔數(shù)鑴戠殑璁$畻鏈哄悕錛圵in鐢ㄦ埛鍙互鍦?#8220;鎴戠殑鐢?shù)鑴?#8221;鍙抽敭灞炴т腑鐪嬪埌錛夈傚鏋滃鍙扮數(shù)鑴戜篃鏄繖鏍蜂緷嬈℃坊鍔狅紝紜畾鍚庤繑鍥炰箣鍓嶇殑鐣岄潰錛屾寜Start鍚姩鏈嶅姟銆?br /> 瀹㈡埛绔殑璁劇疆姣旀湇鍔″櫒绔綆鍗曞緱澶氥傛垜浠潵鍒?Macbook涓婏紝鍚姩 Synergy 鍚庯紝鍙閫夋嫨鎴愬鎴風(fēng)妯″紡錛屽茍濉笂鏈嶅姟鍣ㄧ殑璁$畻鏈哄悕鎴栬匢P鍦板潃鍗沖彲銆傚涓嬪浘錛岃緗ソ鍚庯紝鍚屾牱鎸?Start 鍗沖彲璁╁叾榪炴帴鏈嶅姟鍣ㄣ?/p> 涓鑸潵璇達(dá)紝濡傛灉榪炴帴鎴愬姛鐨勮瘽錛屼綘鐨勯紶鏍囧凡緇忓彲浠ユ父璧板湪涓ゅ彴鐢?shù)鑴戜箣闂翠簡(jiǎn)銆傚綋鐒?dòng)灱屽綋鐨勯紶鏍囦粠PC縐誨姩鍒癕acbook涔嬪悗錛屾垜浠殑閿洏?shù)篃浼?xì)瀵筂acbook鐢熸晥錛岃屽PC鏃犳晥浜?jiǎn)銆傛垜鍙互鍦?MacBook 涓奀TRL+C鎷瘋礉涓浜涙枃瀛楋紝鐒跺悗鍐嶇Щ鍔ㄥ洖PC涓婃寜閿洏CTRL+V綺樿創(chuàng)錛屼竴鍒囬兘鏄偅涔堥『鐣呰嚜鐒?dòng)灱侀潪甯告湁鎰忔濓紒 鏈夐亣鍒扮殑闂鍙互鍙傝冪▼搴忕洰褰曚腑鐨?span style="color: red;">MacReadme.txt Synergy 鐪熺殑鏄竴嬈劇浉褰撶浉褰撹禐鐨勮蔣浠訛紒瀹冭兘澶уぇ鎻愰珮澶氱數(shù)鑴戠敤鎴風(fēng)殑宸ヤ綔鏁堢巼錛岀壒鍒槸棰戠箒瑕佸湪涓嶅悓騫沖彴涓嬪伐浣滅殑鏈嬪弸銆傛洿闅捐兘鍙吹鐨勬槸錛岃繖涔堜紭縐鐨勪竴嬈捐蔣浠剁珶鐒惰繕鏄厤璐瑰紑婧愮殑锝炰笉寰椾笉瀵逛綔鑰呰們鐒惰搗鏁晩銆傚叾瀹炲浜庤繖縐嶈蔣浠訛紝鍗充嬌鏄浠樻鐨勶紝鎴戜篃瑙夊緱寰堝煎緱錛屽洜涓哄畠鑳界湡鐪熷垏鍒囧湴鏂逛究鑷繁銆傜洰鍓嶅敮涓緹庝腑涓嶈凍鐨勬槸錛屽畠鍙兘璺ㄦ満鍏變韓鍓創(chuàng)鏉夸腑鐨勬枃鏈俊鎭紝涓嶈兘璺ㄧ數(shù)鑴戞嫹璐濇枃浠訛紝涔熶笉鑳芥柟渚垮湴鍦ㄤ袱鍙扮數(shù)鑴戜箣闂撮殢鎰忔嫋鍔ㄦ潵浼犺緭鏂囦歡錛屼笉鐒跺氨鐪熸槸紕夊牎浜?jiǎn)銆傝嚦浜庡湪Mac鍜?a target="_blank" style="text-decoration: initial; color: #0086e3;">Linux涓嬬殑鎿嶄綔銆佸揩鎹烽敭鐨勮緗瓑鏇村楂樼駭鐨勭帺娉曞氨絳変綘鑷繁鍘繪姌鑵懼惂銆?/p> 鍘熸枃鍦板潃錛?a >http://www.iplaysoft.com/synergy.htmlSynergy 鐨勪嬌鐢ㄦ柟娉曪細(xì)
璁劇疆鏈嶅姟鍣ㄧ錛?/h3>
鎴戞祴璇曠殑鏈嶅姟鍣ㄦ槸windows錛屾帶鍒剁殑鐢?shù)鑴戞槸mac, 濡傛灉澶у涓嶇煡閬揗AC鐢?shù)鑴戝?鍙互鍏堝惎鍔ㄦ湇鍔″櫒錛岀瓑瀹㈡埛绔繛鎺ョ殑鏃跺?鑿滃崟view->Log Output涓細(xì)鏈塜X鐢?shù)鑴憳q炴帴鏈嶅姟鍣ㄧ殑鏃ュ織錛屽皢閲岄潰鐨勭數(shù)鑴戝悕璁板綍涓嬫潵灝監(jiān)K浜?/strong>璁劇疆瀹㈡埛绔細(xì)
鎴戞祴璇曞鎴風(fēng)鐢?shù)鑴戞槸MAC錛屼笅杞藉拰鏈嶅姟鍣ㄤ竴鑷寸殑鐗堟湰錛屾墦寮緇堢錛屽埌synergyc鐨勭洰褰?/span>
--daemon鍙傛暟 琛ㄧず鍙互鍚庡彴榪愯鍐欏湪鍚庨潰錛?/h3>
闂錛氱敤eclipse 寤虹珛緙栬瘧C++宸ョ▼鍑虹幇閿欒鎻愮ず symbol could not be resolved
瑙e喅鍔炴硶錛?br />
1.window -> preferences -> C/C++ -> debug -> source lookup path > Path Mapping
Name:whatever CompilationPath: \cygdirve\c Local file system path:C:\
鐢╟ygwin涓嬬殑c鐩樻潵鏇夸唬褰撳墠鐨凜鐩?鏉ユ煡鎵鵑渶瑕佺殑搴撴枃浠?br />
2.indexer: index source and header files opened in editor
window -> preferences -> C/C++ -> indexer
OK緙栬瘧鐨勯敊璇В鍐充簡(jiǎn)
榪愯鏃跺張鍑虹幇浜?jiǎn)濡備笅鐨凚UG錛?br />
鎵句笉鍒板搴旂殑鏂囦歡錛屾棤娉曡繘琛岃皟璇曪紝GOOGLE浜?jiǎn)鍗婂ぉ鎵嶆墤謭拌В鍐崇殑鏂规硶锛?xì)
Maybe Eclipse couldn't find the Source because of the missing mapping to
the (cygwin-)drive where your projects/workspaces are.
When you start Cygwin, enter "mount" and look for the mapping you have:
They may look like this:
Admin@bs11-01xp ~
$ mount
D:\cygwin\bin on /usr/bin type system (binmode)
D:\cygwin\lib on /usr/lib type system (binmode)
D:\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
j: on /cygdrive/j type system (binmode,noumount)
n: on /cygdrive/n type system (binmode,noumount)
u: on /cygdrive/u type system (binmode,noumount)
w: on /cygdrive/w type system (binmode,noumount)
x: on /cygdrive/x type system (binmode,noumount)
y: on /cygdrive/y type system (binmode,noumount)
z: on /cygdrive/z type system (binmode,noumount)
My Projects ara all under J:\Projects, so my mapping needs to be present
in Eclipse as:
/cygdrive/j j:/
Open Eclipse and then click
- Windows => Preferences => C/C++ => Debug =>Common Source Lookup
Path
- Add a new Path Mapping: click [Add] => Path Mapping => [OK]
- Select the new Mapping => [Edith] => change Name of Mapping "Project
Source" => [Add]
- set "Compilation path" to the Source (Sample cygwin!) "/cygdrive/j"
(without the quotes!)
- set"Local file system path" tho "J:\" (without the quotes!)
浣嗘槸鎴戝湪windows涓嬬殑宸ョ▼鐩綍閮芥槸鍦℅鐩橈紝鍚屾牱娣誨姞涓涓狦鐩樼殑瀵瑰簲鐩綍灝監(jiān)K浜?br />
Recently, I was encountering insanely slow project loading times during debugging in Visual Studio 2008. Interestingly, this only happened while loading the project only in debug mode. Also, during the slow symbol loading time, the status bar at Visual Studio 2008 always showed Loading Symbols For ____.Dll.
To track it down, I enabled logging for the VS 2008 IDE. This can be done by adding the following entries to its configuration file.
1) Navigate to: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE in Windows Explorer
2) Load devenv.exe.config in text editor.
3) Add the following entries into it
<system.diagnostics> <trace autoflush="true" indentsize="4"> <listeners> <add name="myListener" type="System.Diagnostics.TextWriterTraceListener, System version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" initializeData="c:\myListener.log" /> <remove name="Default" /> </listeners> </trace> </system.diagnostics>
As per this configuration, the trace log would be saved to C:\myListener.Log. Now I fired up VS 2008 and loaded to project in debug mode to reproduce the issues.
I also ran couple of unit test cases in debug mode which were also not able to load. I opened the trace log and found these exceptions:
[V, 5820, 7, 2008/07/04 14:00:33.412] devenv.exe: DIA thew in retrieving symbols: System.Runtime.InteropServices.COMException (0x806D0005): Exception from HRESULT: 0x806D0005
at Microsoft.VisualStudio.TestTools.Common.Dia2Lib.IDiaDataSource.loadDataForExe(String executable, String searchPath, Object pCallback)
at Microsoft.VisualStudio.TestTools.Common.DiaHelper.GetSymbolsFileName(String imagePath)
Confirmed with the issue was related to loading of Symbols. I realized that I had once set up a dedicated symbol directory on machine at C:\symbols to enable debugging with WinDbg.
I checked the Debugging Options in VS 2008 to see if its trying to load symbols from somewhere else.
Then suddenly, I was reminded that I had once set up a environment variable _NT_SYMBOL_PATH to an Internet location while debugging in WinDbg to enable automatic downloading of symbols.
I originally thought that this setting was only applicable to WinDbg. But I was mistaken. In fact, this setting will be used across by all debuggers (atleast Microsoft debuggers). This is documented here. I was pretty sure that VS 2008 was trying to load symbols from the Internet location and since many of the assemblies in my application didn't had symbols were them, it must have been failing.
To confirm, I fired My Computer -> Properties -> Advanced -> Environment Variables and cleared out the line
_NT_SYMBOL_PATH=srv*c:\mysymbols*http://msdl.microsoft.com/download/symbols;cache*c:\mysymbols
I reloaded the my project in VS 2008 in debug mode and Bingo, the problem was solved :)
While investigating this problem, I came across many other sources which could cause this issue , so I thought I can post it here for the benefit of community. The credit for these tips goes to Azeem Khan who is working with VSTS team at Microsoft.
浼撮殢鐫緋葷粺鐨勯噸瑁匳S鍜孮t涔熼噸鏂板畨瑁呬笌閰嶇疆銆傚櫌錛侀棶棰樺嚭鐜頒簡(jiǎn)錛孷S鍙互璇嗗埆QT錛屼絾鏄唬鐮佹彁渚涘姛鑳藉QT瀹屽叏澶辨晥錛岃屼笖鍦╒S涓彸閿?->杞埌瀹?nbsp;涔夛紝鐩存帴鎻愮ず“鏈畾涔夌殑絎﹀彿”錛屽ぉ鍟婏紒VS浠g爜鎻愮ず鍔熻兘鎵句笉鍒癚t鐨勬枃浠朵簡(jiǎn)銆傚熷姪Google鍜孊aidu錛屽啀鍔犱笂鑷繁鐨勬懜绱紝緇堜簬鏄姛澶笉璐熸湁蹇?jī)錆h錛岃 鎴戞壘鍒頒簡(jiǎn)闂鐨勬墍鍦紝騫朵笖涔熷彂鐜頒簡(jiǎn)VS浠g爜鎻愮ず鍔熻兘鐨勫叧閿偣鎵鍦紝璁板綍涓嬫潵澶囧繕錛?/p>
棣栧厛錛屽湪鍋氳彍涔嬪墠鍏堜粙緇嶄竴涓嬪師鏉愭枡錛屾棦鐒舵槸VS IDE鐨勪唬鐮佹彁紺猴紝褰撶劧VS鏄皯涓嶄簡(jiǎn)鐨勶紝鍙﹀榪樻湁涓涓?#8220;鍏抽敭鍏堢敓”鏄痸s assistant錛圴S浠g爜鍔╂墜錛夈?/p>
鍏舵錛岄厤緗甐S浣夸箣鍙互璇嗗埆Qt鏂囦歡錛屼篃灝辨槸褰撻紶鏍囨斁鍒癚MainWindow涓婇潰鐐瑰彸閿?->杞埌瀹氫箟錛孷S浼?xì)锜╄浆鍒拌鏂囦挥灱岃屼笉鏄彁紺?#8220;鏈畾涔?nbsp;鐨勭鍙?#8221;銆傛墦寮VS錛屽伐鍏?->閫夐」-->欏圭洰鍜岃В鍐蟲(chóng)柟妗?->VC++鐩綍 鍦ㄥ彸渚т笅鎷夋涓夋嫨-->鍖呭惈鏂囦歡錛岃繖閲屾坊鍔燪T鐨刬nclude鐩綍錛屽涓嬪浘鎵紺猴細(xì)
榪欐牱灝辮В鍐充簡(jiǎn)錛孷S鏃犳硶璇嗗埆QT鐨勯棶棰樸備笅闈紝榪樺緱閬囧埌鐨勯棶棰橈紝灝辨槸VS assistant鏃犳硶璇嗗埆Qt浜?jiǎn)銆?/p>
鍐嶆錛屽畨瑁呭ソVS assistant鍚庯紝鎵撳紑閰嶇疆欏碉紝Projects-->C/C++ Directories錛屽乏渚т笅鎷夋閫夋嫨-->Custom錛屾坊鍔犲鍥炬墍紺猴細(xì)
OK錛岄噸鍚疺S錛屽氨浼?xì)鍙戠庮C唬鐮佹彁紺哄姛鑳藉叏閮ㄥ洖鏉ャ傚惣鍚?.....
灝忕粨涓涓嬶細(xì)
鎴栬鏄垜浠IDE鐨勮姹傚お楂樹(shù)簡(jiǎn)鐐癸紝闅忎究鎴戝畨瑁呯殑涓涓狥rameWrok閮借浣犳棤鏉′歡鐨勬帴鍙楋紝鍝囧搱鍝堛備互鍚庨亣鍒扮被浼肩殑闂灝辨湁鐫鎵嬬偣浜?jiǎn)锛岃鍦↖DE涓厤緗浉鍏矲rameWork鐨勮礬寰勶紝璁㊣DE璇嗗埆鍚庡嵆鍙疄鐜般?/p>
Q.P.K2010騫?/span>8鏈?/span>16鏃?/span>浜巐itsoft
鍦∟otepad++瀹樼綉鐨刄ser DefinedLanguage files涓嬭澆涓縐嶄綘闇瑕佺殑鑷畾涔夎璦鏂囦歡,渚嬪HLSL
灝嗚繖涓枃浠跺懡鍚嶄負(fù)userDefineLang.xml,騫舵嫹璐濊繘浠ヤ笅鐩綍:
XP: C:\Documents and Settings\[username]\Application Data\Notepad++
Vista/Win7 C:\Users\[username]\AppData\Roaming\Notepad++
濡傛灉宸茬粡鏈夎繖縐嶆枃浠?灝嗕笅杞界殑鏂囦歡鍐呭鎵嬪姩娣誨姞鍒板師鏂囦歡
榪欓噷鎺ㄨ崘涓?a style="color: navy; text-decoration: none" >OGRE瀹樼綉鐨凜g鑷畾涔夎璦妯℃澘,榪欎釜鏍囪壊姣旇緝涓嶉敊
涔熷彲浠ヤ嬌鐢ㄥ埆浜鴻緗ソ鐨勶細(xì)
http://notepad-plus-plus.org/resources.html
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Language_Files