/
index.html
411 lines (336 loc) · 14.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
<!DOCTYPE html>
<html lang="zh-cmn-Hans" prefix="og: http://ogp.me/ns#" class="han-init">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<title>Eclipse — sunseekers</title>
<link rel="stylesheet" href="http://localhost:4000/assets/vendor/primer-css/css/primer.css">
<link rel="stylesheet" href="http://localhost:4000/assets/vendor/primer-markdown/dist/user-content.min.css">
<link rel="stylesheet" href="http://localhost:4000/assets/vendor/octicons/octicons/octicons.css">
<link rel="stylesheet" href="http://localhost:4000/assets/css/components/collection.css">
<link rel="stylesheet" href="http://localhost:4000/assets/css/components/repo-card.css">
<link rel="stylesheet" href="http://localhost:4000/assets/css/sections/repo-list.css">
<link rel="stylesheet" href="http://localhost:4000/assets/css/sections/mini-repo-list.css">
<link rel="stylesheet" href="http://localhost:4000/assets/css/components/boxed-group.css">
<link rel="stylesheet" href="http://localhost:4000/assets/css/globals/common.css">
<link rel="stylesheet" href="http://localhost:4000/assets/vendor/share.js/dist/css/share.min.css">
<link rel="stylesheet" href="http://localhost:4000/assets/css/globals/responsive.css">
<link rel="stylesheet" href="http://localhost:4000/assets/css/posts/index.css">
<!-- Latest compiled and minified CSS -->
<link rel="canonical" href="http://localhost:4000/wiki/eclipse/">
<link rel="alternate" type="application/atom+xml" title="sunseekers" href="http://localhost:4000/feed.xml">
<link rel="shortcut icon" href="http://localhost:4000/favicon.ico">
<meta property="og:title" content="Eclipse">
<meta name="keywords" content="Eclipse">
<meta name="og:keywords" content="Eclipse">
<meta name="description" content="快捷键C –> Ctrl">
<meta name="og:description" content="快捷键C –> Ctrl">
<meta property="og:url" content="http://localhost:4000/wiki/eclipse/">
<meta property="og:site_name" content="sunseekers">
<meta property="og:type" content="article">
<meta property="og:locale" content="zh_CN" />
<meta property="article:published_time" content="2019-07-14">
<script src="http://localhost:4000/assets/vendor/jquery/dist/jquery.min.js"></script>
<script src="http://localhost:4000/assets/js/jquery-ui.js"></script>
<script type="text/javascript">
function toggleMenu() {
var nav = document.getElementsByClassName("site-header-nav")[0];
if (nav.style.display == "inline-flex") {
nav.style.display = "none";
} else {
nav.style.display = "inline-flex";
}
}
</script>
</head>
<body class="" data-mz="">
<header class="site-header">
<div class="container">
<h1><a href="http://localhost:4000/" title="sunseekers"><span class="octicon octicon-mark-github"></span> sunseekers</a></h1>
<button class="collapsed mobile-visible" type="button" onclick="toggleMenu();">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<nav class="site-header-nav" role="navigation">
<a href="http://localhost:4000/" class=" site-header-nav-item" target="" title="Home">Home</a>
<a href="http://localhost:4000/categories/" class=" site-header-nav-item" target="" title="Blog">Blog</a>
<a href="http://localhost:4000/open-source/" class=" site-header-nav-item" target="" title="Open-source">Open-source</a>
<a href="http://localhost:4000/wiki/" class=" site-header-nav-item" target="" title="Wiki">Wiki</a>
<a href="http://localhost:4000/links/" class=" site-header-nav-item" target="" title="Link">Link</a>
<a href="http://localhost:4000/about/" class=" site-header-nav-item" target="" title="About">About</a>
</nav>
</div>
</header>
<!-- / header -->
<section class="collection-head small geopattern" data-pattern-id="Eclipse">
<div class="container">
<div class="columns">
<div class="column three-fourths">
<div class="collection-title">
<h1 class="collection-header">Eclipse</h1>
</div>
</div>
</div>
</div>
</section>
<!-- / .banner -->
<section class="container content">
<div class="columns">
<div class="column three-fourths" >
<article class="article-content markdown-body">
<h3 id="快捷键">快捷键</h3>
<p>C –> Ctrl</p>
<p>S –> Shift</p>
<p>A –> Alt</p>
<table>
<thead>
<tr>
<th style="text-align: left">功能</th>
<th style="text-align: left">快捷键</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">显示所有快捷键</td>
<td style="text-align: left">C-S-l</td>
</tr>
<tr>
<td style="text-align: left">开/关注释</td>
<td style="text-align: left">C-/</td>
</tr>
<tr>
<td style="text-align: left">显示 outline</td>
<td style="text-align: left">C-o</td>
</tr>
<tr>
<td style="text-align: left">当前打开的文件列表</td>
<td style="text-align: left">C-e</td>
</tr>
<tr>
<td style="text-align: left">快速查找打开文件</td>
<td style="text-align: left">C-S-r</td>
</tr>
<tr>
<td style="text-align: left">查找</td>
<td style="text-align: left">C-h</td>
</tr>
<tr>
<td style="text-align: left">查找后跳到下一处</td>
<td style="text-align: left">C-.</td>
</tr>
<tr>
<td style="text-align: left">Undo</td>
<td style="text-align: left">C-z</td>
</tr>
<tr>
<td style="text-align: left">Redo</td>
<td style="text-align: left">C-y</td>
</tr>
<tr>
<td style="text-align: left">跳到指定行</td>
<td style="text-align: left">C-l</td>
</tr>
<tr>
<td style="text-align: left">自动补全</td>
<td style="text-align: left">A-/</td>
</tr>
<tr>
<td style="text-align: left">自动解决导入包问题</td>
<td style="text-align: left">C-S-o</td>
</tr>
<tr>
<td style="text-align: left">返回</td>
<td style="text-align: left">A-Left</td>
</tr>
<tr>
<td style="text-align: left">反返回</td>
<td style="text-align: left">A-Right</td>
</tr>
<tr>
<td style="text-align: left">步进</td>
<td style="text-align: left">F5</td>
</tr>
<tr>
<td style="text-align: left">单步</td>
<td style="text-align: left">F6</td>
</tr>
<tr>
<td style="text-align: left">执行到返回</td>
<td style="text-align: left">F7</td>
</tr>
<tr>
<td style="text-align: left">继续执行</td>
<td style="text-align: left">F8</td>
</tr>
<tr>
<td style="text-align: left">删除当前行</td>
<td style="text-align: left">C-d</td>
</tr>
<tr>
<td style="text-align: left">删除前一个词</td>
<td style="text-align: left">C-Backspace</td>
</tr>
<tr>
<td style="text-align: left">删除后一个词</td>
<td style="text-align: left">C-Delete</td>
</tr>
<tr>
<td style="text-align: left">缩进</td>
<td style="text-align: left">Tab</td>
</tr>
<tr>
<td style="text-align: left">减少缩进</td>
<td style="text-align: left">S-Tab</td>
</tr>
<tr>
<td style="text-align: left">在下面新起一行</td>
<td style="text-align: left">S-Enter</td>
</tr>
<tr>
<td style="text-align: left">在上面新起一行</td>
<td style="text-align: left">C-S-Enter</td>
</tr>
</tbody>
</table>
<h3 id="qa">Q&A</h3>
<ol>
<li>
<p>如何解决 Mac OS X 下安装的是 Java 1.8,运行 Eclipse 时提示「您需要安装旧 Java SE 6 运行环境才能打开「Eclipse.app」。」的问题?</p>
<p><img src="/images/wiki/eclipse-need-java6.png" alt="" /></p>
<p>更改 /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Info.plist 文件里的 JVMCapabilities 段如下(默认只有 <code class="highlighter-rouge">CommandLine</code>):</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <key>JVMCapabilities</key>
<array>
<string>JNI</string>
<string>BundledApp</string>
<string>WebStart</string>
<string>Applets</string>
<string>CommandLine</string>
</array>
</code></pre></div> </div>
<p>然后重启电脑。</p>
<p>没有找到为何这样改的解释,按名称猜想应该是说在这几种环境下启动 Java 具有跨版本的兼容性吧。</p>
</li>
</ol>
</article>
<div class="share">
<div class="share-component"></div>
</div>
<div class="comment">
<div id="gitalk-container"></div>
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
<script>
var gitalk = new Gitalk({
id: '/wiki/eclipse/',
clientID: '7ffc0aeedcc0dc7f5fb6',
clientSecret: 'c910965c927d40783d363d7e21197ccf35c317b3',
repo: 'sunseekers',
owner: 'sunseekers',
admin: ['sunseekers'],
labels: ['gitment'],
perPage: 50,
})
gitalk.render('gitalk-container')
</script>
</div>
</div>
<div class="column one-fourth">
<h3>Search</h3>
<div id="site_search">
<input type="text" id="search_box" placeholder="Search">
</div>
<ul id="search_results"></ul>
<link rel="stylesheet" type="text/css" href="http://localhost:4000/assets/css/modules/sidebar-search.css">
<script src="http://localhost:4000/assets/js/jekyll-search.min.js"></script>
<script src="http://localhost:4000/assets/js/search.js"></script>
<script type="text/javascript">
SimpleJekyllSearch({
searchInput: document.getElementById('search_box'),
resultsContainer: document.getElementById('search_results'),
json: 'http://localhost:4000/assets/search_data.json',
searchResultTemplate: '<li><a href="{url}" title="{desc}">{title}</a></li>',
noResultsText: 'No results found',
limit: 10,
fuzzy: false,
exclude: ['Welcome']
})
</script>
<h3 class="post-directory-title mobile-hidden">Table of Contents</h3>
<div id="post-directory-module" class="mobile-hidden">
<section class="post-directory">
<!-- Links that trigger the jumping -->
<!-- Added by javascript below -->
<dl></dl>
</section>
</div>
<script src="http://localhost:4000/assets/js/jquery.toc.js"></script>
</div>
</div>
</section>
<!-- /section.content -->
<footer class="container">
<div class="site-footer" role="contentinfo">
<div class="copyright left mobile-block">
© 2018
<span title="sunseekers">sunseekers</span>
<a href="javascript:window.scrollTo(0,0)" class="right mobile-visible">TOP</a>
</div>
<ul class="site-footer-links right mobile-hidden">
<li>
<a href="javascript:window.scrollTo(0,0)" >TOP</a>
</li>
</ul>
<a href="http://github.com/DWJWendy/DWJWendy.github.io" target="_blank" aria-label="view source code">
<span class="mega-octicon octicon-mark-github" title="GitHub"></span>
</a>
<ul class="site-footer-links mobile-hidden">
<li>
<a href="http://localhost:4000/" title="Home" target="">Home</a>
</li>
<li>
<a href="http://localhost:4000/categories/" title="Blog" target="">Blog</a>
</li>
<li>
<a href="http://localhost:4000/open-source/" title="Open-source" target="">Open-source</a>
</li>
<li>
<a href="http://localhost:4000/wiki/" title="Wiki" target="">Wiki</a>
</li>
<li>
<a href="http://localhost:4000/links/" title="Link" target="">Link</a>
</li>
<li>
<a href="http://localhost:4000/about/" title="About" target="">About</a>
</li>
<li><a href="http://localhost:4000/feed.xml"><span class="octicon octicon-rss" style="color:orange;"></span></a></li>
</ul>
</div>
</footer>
<!-- / footer -->
<script src="http://localhost:4000/assets/vendor/share.js/dist/js/share.min.js"></script>
<script src="http://localhost:4000/assets/js/geopattern.js"></script>
<script src="http://localhost:4000/assets/js/prism.js"></script>
<link rel="stylesheet" href="http://localhost:4000/assets/css/globals/prism.css">
<script>
jQuery(document).ready(function($) {
// geopattern
$('.geopattern').each(function(){
$(this).geopattern($(this).data('pattern-id'));
});
// hljs.initHighlightingOnLoad();
});
</script>
<div style="display:none">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-80669434-1', 'auto');
ga('send', 'pageview');
</script>
</div>
</body>
</html>