Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCoreDebug.java

Issue 439933005: first incremental cut at editor without packages directories (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012, the Dart project authors. 2 * Copyright (c) 2012, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 public static final boolean ENABLE_TESTS_VIEW = isOptionTrue("experimental/tes tsView"); 64 public static final boolean ENABLE_TESTS_VIEW = isOptionTrue("experimental/tes tsView");
65 public static final boolean ENABLE_FORMATTER = isOptionTrue("experimental/form atter"); 65 public static final boolean ENABLE_FORMATTER = isOptionTrue("experimental/form atter");
66 public static final boolean ENABLE_NEW_FEEDBACK = isOptionTrue("experimental/f eedback"); 66 public static final boolean ENABLE_NEW_FEEDBACK = isOptionTrue("experimental/f eedback");
67 public static final boolean ENABLE_THEMES = true; //isOptionTrue("experimental /themes"); 67 public static final boolean ENABLE_THEMES = true; //isOptionTrue("experimental /themes");
68 public static final boolean ENABLE_TAB_COLORING = isOptionTrue("experimental/t abColors"); 68 public static final boolean ENABLE_TAB_COLORING = isOptionTrue("experimental/t abColors");
69 public static final boolean ENABLE_HTML_VALIDATION = isOptionTrue("experimenta l/validateHtml"); 69 public static final boolean ENABLE_HTML_VALIDATION = isOptionTrue("experimenta l/validateHtml");
70 public static final boolean ENABLE_COVERAGE = isOptionTrue("experimental/cover age"); 70 public static final boolean ENABLE_COVERAGE = isOptionTrue("experimental/cover age");
71 public static final boolean ENABLE_ANALYSIS_SERVER = isOptionTrue("experimenta l/analysisServer"); 71 public static final boolean ENABLE_ANALYSIS_SERVER = isOptionTrue("experimenta l/analysisServer");
72 public static final boolean ANALYSIS_SERVER_DEBUG = isOptionTrue("experimental /analysisServer/debug"); 72 public static final boolean ANALYSIS_SERVER_DEBUG = isOptionTrue("experimental /analysisServer/debug");
73 public static final String ANALYSIS_SERVER_LOG_FILE = getOptionValue("experime ntal/analysisServer/logFile"); 73 public static final String ANALYSIS_SERVER_LOG_FILE = getOptionValue("experime ntal/analysisServer/logFile");
74 public static final boolean NO_PUB_PACKAGES = isOptionTrue("experimental/noPub Packages");
74 75
75 // Persistent developer settings 76 // Persistent developer settings
76 77
77 public static final boolean DISABLE_MARK_OCCURRENCES = isOptionTrue("dev/disab leMarkOccurrences"); 78 public static final boolean DISABLE_MARK_OCCURRENCES = isOptionTrue("dev/disab leMarkOccurrences");
78 79
79 // User settings 80 // User settings
80 81
81 public static final boolean DISABLE_DARTIUM_DEBUGGER = isOptionTrue("user/disa bleDartiumDebugger"); 82 public static final boolean DISABLE_DARTIUM_DEBUGGER = isOptionTrue("user/disa bleDartiumDebugger");
82 public static final boolean DISABLE_CLI_DEBUGGER = isOptionTrue("user/disableC ommandLineDebugger"); 83 public static final boolean DISABLE_CLI_DEBUGGER = isOptionTrue("user/disableC ommandLineDebugger");
83 84
(...skipping 20 matching lines...) Expand all
104 instrumentation.metric("PERF_OS_RESOURCES", PERF_OS_RESOURCES); 105 instrumentation.metric("PERF_OS_RESOURCES", PERF_OS_RESOURCES);
105 106
106 instrumentation.metric("EXPERIMENTAL", EXPERIMENTAL); 107 instrumentation.metric("EXPERIMENTAL", EXPERIMENTAL);
107 108
108 instrumentation.metric("ENABLE_ALT_KEY_BINDINGS", ENABLE_ALT_KEY_BINDINGS); 109 instrumentation.metric("ENABLE_ALT_KEY_BINDINGS", ENABLE_ALT_KEY_BINDINGS);
109 instrumentation.metric("ENABLE_TESTS_VIEW", ENABLE_TESTS_VIEW); 110 instrumentation.metric("ENABLE_TESTS_VIEW", ENABLE_TESTS_VIEW);
110 instrumentation.metric("ENABLE_FORMATTER", ENABLE_FORMATTER); 111 instrumentation.metric("ENABLE_FORMATTER", ENABLE_FORMATTER);
111 instrumentation.metric("ENABLE_THEMES", ENABLE_THEMES); 112 instrumentation.metric("ENABLE_THEMES", ENABLE_THEMES);
112 instrumentation.metric("ENABLE_TAB_COLORING", ENABLE_TAB_COLORING); 113 instrumentation.metric("ENABLE_TAB_COLORING", ENABLE_TAB_COLORING);
113 instrumentation.metric("ENABLE_HTML_VALIDATION", ENABLE_HTML_VALIDATION); 114 instrumentation.metric("ENABLE_HTML_VALIDATION", ENABLE_HTML_VALIDATION);
115 instrumentation.metric("NO_PUB_PACKAGES", NO_PUB_PACKAGES);
114 116
115 instrumentation.metric("DISABLE_MARK_OCCURRENCES", DISABLE_MARK_OCCURRENCES) ; 117 instrumentation.metric("DISABLE_MARK_OCCURRENCES", DISABLE_MARK_OCCURRENCES) ;
116 118
117 instrumentation.metric("DISABLE_DARTIUM_DEBUGGER", DISABLE_DARTIUM_DEBUGGER) ; 119 instrumentation.metric("DISABLE_DARTIUM_DEBUGGER", DISABLE_DARTIUM_DEBUGGER) ;
118 instrumentation.metric("DISABLE_CLI_DEBUGGER", DISABLE_CLI_DEBUGGER); 120 instrumentation.metric("DISABLE_CLI_DEBUGGER", DISABLE_CLI_DEBUGGER);
119 } 121 }
120 122
121 /** 123 /**
122 * Returns a value of the option, {@code null} if not set. 124 * Returns a value of the option, {@code null} if not set.
123 */ 125 */
(...skipping 18 matching lines...) Expand all
142 */ 144 */
143 private static boolean isOptionValue(String optionSuffix, String expected) { 145 private static boolean isOptionValue(String optionSuffix, String expected) {
144 String value = getOptionValue(optionSuffix); 146 String value = getOptionValue(optionSuffix);
145 if (value != null && !"false".equals(value)) { 147 if (value != null && !"false".equals(value)) {
146 SPARSE_OPTION_MAP.put(optionSuffix, value); 148 SPARSE_OPTION_MAP.put(optionSuffix, value);
147 } 149 }
148 return StringUtils.equalsIgnoreCase(value, expected); 150 return StringUtils.equalsIgnoreCase(value, expected);
149 } 151 }
150 152
151 } 153 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698