Ich brauche Eklipse (Kepler) einrücken HTML-Tags innerhalb <head>...</head>
wenn ich drücken Sie Strg + Umschalt + FEinrücken Tags innerhalb <head></head> in Eclipse
Derzeit dies:
<html>
<head>
<title>Insert title here</title>
<script type="text/javascript">
function func() {
console.log("Hello world");
}
</script>
</head>
<body>
<p onclick="func()">Some text</p>
</body>
</html>
dies wird, wenn Ich habe die Tastenkombination gedrückt.
<html>
<head>
<title>Insert title here</title>
<script type="text/javascript">
function func() {
console.log("Hello world");
}
</script>
</head>
<body>
<p onclick="func()">Some text</p>
</body>
</html>
Ich brauche alles innerhalb <head>...</head>
die Tags alle innerhalb <html>...</html>
zerklüftet und auch werden.
Ideal auf diese Weise:
function func() {
console.log("Hello world");
}
<html>
<head>
<title>Insert title here</title>
<script type="text/javascript">
/* function */
</script>
</head>
<body>
<p onclick="func()">Some text</p>
</body>
</html>
Der folgende Link scheint zu haben, wonach Sie suchen: https://stackoverflow.com/questions/17892094/how-to-add-html-editor-to-eclipse – sobz