Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
26,100 | void () { boolean isEnabled = myImportCodeStyleRB.isSelected() && !myCodeStylesListModel.isEmpty(); myCodeStylesList.setEnabled(isEnabled); myOrganizeImportsCheckBox.setEnabled(isEnabled); if (isEnabled) { myCodeStylesList.getSelectionModel().setSelectionInterval(0, 0); } else { myCodeStylesList.getSelectionModel().cle... | updateProjectListEnabledStatus |
26,101 | List<EclipseProjectCodeStyleData> () { List<EclipseProjectCodeStyleData> codeStyleDataList = new ArrayList<>(); ProjectBuilder builder = getWizardContext().getProjectBuilder(); if (builder instanceof EclipseImportBuilder eclipseImportBuilder) { for (String projectPath : eclipseImportBuilder.getParameters().projectsToCo... | getCodeStylesList |
26,102 | ProjectImportBuilder () { return ProjectImportBuilder.EXTENSIONS_POINT_NAME.findExtensionOrFail(EclipseImportBuilder.class); } | doGetBuilder |
26,103 | ModuleWizardStep[] (WizardContext context) { final ProjectWizardStepFactory stepFactory = ProjectWizardStepFactory.getInstance(); return new ModuleWizardStep[]{new EclipseWorkspaceRootStep(context), new SelectEclipseImportedProjectsStep(context), new EclipseCodeStyleImportStep(context), stepFactory.createProjectJdkStep... | createSteps |
26,104 | boolean (VirtualFile file) { return myProcessor.canOpenProject(file); } | canImportFromFile |
26,105 | String () { return EclipseBundle.message("eclipse.file.to.import.description"); } | getFileSample |
26,106 | void (final ActionEvent e) { final boolean dedicated = rbModulesDedicated.isSelected(); myDirComponent.setEnabled(dedicated); if (dedicated && myDirComponent.getText().length() == 0) { final String remoteStorage = Options.getProjectStorageDir(context.getProject()); myDirComponent.setText(remoteStorage != null ? remoteS... | actionPerformed |
26,107 | JComponent () { return myPanel; } | getComponent |
26,108 | String () { return EclipseBundle.message("eclipse.import.step.name"); } | getName |
26,109 | void () { final String projectFilesDir; if (myDirComponent.isEnabled()) { projectFilesDir = myDirComponent.getText(); } else { projectFilesDir = null; } suggestProjectNameAndPath(projectFilesDir, myWorkspaceRootComponent.getText()); getParameters().converterOptions.commonModulesDirectory = projectFilesDir; getParameter... | updateDataModel |
26,110 | void () { String path = getBuilder().getFileToImport(); if (path == null) { if (getWizardContext().isProjectFileDirectorySet() || !PropertiesComponent.getInstance().isValueSet(_ECLIPSE_PROJECT_DIR)) { path = getWizardContext().getProjectFileDirectory(); } else { path = PropertiesComponent.getInstance().getValue(_ECLIPS... | updateStep |
26,111 | String (String string) { return string == null ? null : string.replaceAll("\\.", "\\.") // "." -> "\." .replaceAll("\\*", ".*") // "*" -> ".*" .replaceAll("\\?", ".") // "?" -> "." .replaceAll(",\\s*", "|"); // "," possible followed by whitespace -> "|" } | wildcardToRegexp |
26,112 | String (String string) { return string == null ? null : string.replaceAll("\\.\\*", "*") // ".*" -> "*" .replaceAll("\\.", "?") // "." -> "?" .replaceAll("\\\\\\?", ".") // "\?" -> "." .replaceAll("\\|", ", "); // "|" -> ","; } | regexpToWildcard |
26,113 | JComponent () { return myWorkspaceRootComponent.getTextField(); } | getPreferredFocusedComponent |
26,114 | String () { return "reference.dialogs.new.project.import.eclipse.page1"; } | getHelpId |
26,115 | EclipseProjectWizardContext () { return (EclipseProjectWizardContext)getBuilder(); } | getContext |
26,116 | Set<String> () { final Set<String> allCons = new HashSet<>(); allCons.add(EclipseXml.GROOVY_SUPPORT); allCons.add(EclipseXml.GROOVY_DSL_CONTAINER); for (EclipseNatureImporter provider : EP_NAME.getExtensionList()) { allCons.addAll(provider.getProvidedCons()); } return allCons; } | getAllDefinedCons |
26,117 | List<String> () { return Arrays.asList(EclipseXml.JAVA_NATURE, EclipseXml.JREBEL_NATURE, EclipseXml.SONAR_NATURE); } | getDefaultNatures |
26,118 | void (final String element, final boolean isMarked) { duplicateNames = null; fileChooser.repaint(); } | elementMarkChanged |
26,119 | boolean (final String item) { calcDuplicates(); return fileChooser.getMarkedElements().contains(item) && duplicateNames.contains(EclipseProjectFinder.findProjectName(item)); } | isInConflict |
26,120 | void () { if (duplicateNames == null) { duplicateNames = new HashSet<>(); Set<String> usedNames = new HashSet<>(); for (String model : fileChooser.getMarkedElements()) { final String projectName = EclipseProjectFinder.findProjectName(model); if (!usedNames.add(projectName)) { duplicateNames.add(projectName); } } } } | calcDuplicates |
26,121 | String (final String item) { StringBuilder stringBuilder = new StringBuilder(); final String projectName = EclipseProjectFinder.findProjectName(item); stringBuilder.append(projectName); String relPath = PathUtil.getRelative(((EclipseImportBuilder)getBuilder()).getParameters().root, item); if (!relPath.equals(".") && !r... | getElementText |
26,122 | Icon (final String item) { return isInConflict(item) ? AllIcons.Actions.Cancel : null; } | getElementIcon |
26,123 | void () { super.updateStep(); duplicateNames = null; } | updateStep |
26,124 | String () { return EclipseBundle.message("eclipse.projects.to.import.selection.step.name"); } | getName |
26,125 | String () { return "reference.dialogs.new.project.import.eclipse.page2"; } | getHelpId |
26,126 | String () { return EclipseBundle.message("eclipse.name"); } | getName |
26,127 | Icon () { return AllIcons.Providers.Eclipse; } | getIcon |
26,128 | String () { return getParameters().root; } | getRootDirectory |
26,129 | boolean (@NotNull String path) { ProgressManager.getInstance().run(new Task.Modal(getCurrentProject(), EclipseBundle.message("eclipse.import.scanning"), true) { @Override public void run(@NotNull ProgressIndicator indicator) { List<String> roots = new ArrayList<>(); EclipseProjectFinder.findModuleRoots(roots, path, (@N... | setRootDirectory |
26,130 | void (@NotNull ProgressIndicator indicator) { List<String> roots = new ArrayList<>(); EclipseProjectFinder.findModuleRoots(roots, path, (@NlsSafe var path12) -> { final ProgressIndicator progressIndicator = ProgressManager.getInstance().getProgressIndicator(); if (progressIndicator != null) { if (progressIndicator.isCa... | run |
26,131 | void () { getParameters().workspace = null; getParameters().root = null; } | onCancel |
26,132 | List<String> () { return getParameters().workspace; } | getList |
26,133 | boolean (final String element) { if (getParameters().projectsToConvert != null) { return getParameters().projectsToConvert.contains(element); } return !getParameters().existingModuleNames.contains(EclipseProjectFinder.findProjectName(element)); } | isMarked |
26,134 | void (List<String> list) { getParameters().projectsToConvert = list; } | setList |
26,135 | boolean () { return getParameters().openModuleSettings; } | isOpenProjectSettingsAfter |
26,136 | void (boolean on) { getParameters().openModuleSettings = on; } | setOpenProjectSettingsAfter |
26,137 | void () { super.cleanup(); parameters = null; } | cleanup |
26,138 | boolean (@Nullable Project currentProject, @NotNull Project project) { final Ref<Exception> refEx = new Ref<>(); final Set<String> variables = new HashSet<>(); final Map<String, String> naturesNames = new HashMap<>(); final List<String> projectsToConvert = getParameters().projectsToConvert; final boolean oneProjectToCo... | validate |
26,139 | List<Module> (final Project project, ModifiableModuleModel model, ModulesProvider modulesProvider, ModifiableArtifactModel artifactModel) { final Collection<@NlsSafe String> unknownLibraries = new TreeSet<>(); final Collection<String> unknownJdks = new TreeSet<>(); final Set<String> refsToModules = new HashSet<>(); fin... | commit |
26,140 | boolean (@Nullable VirtualFile file) { return super.isFileSelectable(file) && Comparing.strEqual(file.getExtension(), "userlibraries"); } | isFileSelectable |
26,141 | void (@NotNull Project project, @NotNull StringBuilder messageBuilder) { try { EclipseProjectCodeStyleData codeStyleData = getParameters().codeStyleData; if (codeStyleData != null) { CodeStyleSettings projectSettings = codeStyleData.importCodeStyle(); if (projectSettings != null) { CodeStyle.setMainProjectSettings(proj... | setupProjectCodeStyle |
26,142 | void (@NotNull final Project project, @NotNull final Map<Module, Set<String>> module2NatureNames) { if (module2NatureNames.size() == 0) { return; } StartupManager.getInstance(project).runAfterOpened(() -> { DumbService.getInstance(project).smartInvokeLater(() -> { for (EclipseNatureImporter importer : EclipseNatureImpo... | scheduleNaturesImporting |
26,143 | void (final Project project, final Collection<String> libraries, final String libraryName) { if (libraries.contains(libraryName)) { final FileChooserDescriptor fileChooserDescriptor = new FileChooserDescriptor(false, true, false, false, false, false) { @Override public Icon getIcon(final VirtualFile file) { return look... | createEclipseLibrary |
26,144 | Icon (final VirtualFile file) { return looksLikeEclipse(file) ? dressIcon(file, AllIcons.Providers.Eclipse) : super.getIcon(file); } | getIcon |
26,145 | boolean (final VirtualFile file) { return file.findChild(".eclipseproduct") != null; } | looksLikeEclipse |
26,146 | Parameters () { if (parameters == null) { parameters = new Parameters(); parameters.existingModuleNames = new HashSet<>(); if (isUpdate()) { Project project = getCurrentProject(); if (project != null) { for (Module module : ModuleManager.getInstance(project).getModules()) { parameters.existingModuleNames.add(module.get... | getParameters |
26,147 | void (String path, Map<String, String> naturesNames, String separator) { Set<String> natures = collectNatures(path); natures.removeAll(EclipseNatureImporter.getDefaultNatures()); for (EclipseNatureImporter importer : EclipseNatureImporter.EP_NAME.getExtensions()) { natures.remove(importer.getNatureName()); } if (!natur... | collectUnknownNatures |
26,148 | Set<String> (@NotNull String path) { Set<String> naturesNames = new HashSet<>(); try { Element natures = JDOMUtil.load(new File(path, EclipseXml.DOT_PROJECT_EXT)).getChild("natures"); if (natures != null) { for (Element nature : natures.getChildren("nature")) { String natureName = nature.getText(); if (!StringUtil.isEm... | collectNatures |
26,149 | String (Project project) { return PropertiesComponent.getInstance().getValue(ECLIPSE_REMOTE_PROJECT_STORAGE); } | getProjectStorageDir |
26,150 | void (String dir) { PropertiesComponent.getInstance().setValue(ECLIPSE_REMOTE_PROJECT_STORAGE, dir); } | saveProjectStorageDir |
26,151 | String (@NonNls @NotNull String postfix) { return String.format("%s.%s", FORMATTER_OPTIONS_PREFIX, postfix); } | completeId |
26,152 | boolean () { try { myCorePreferences = loadProperties(CORE_PREFS_FILE_NAME); myUiPreferences = loadProperties(UI_PREFS_FILE_NAME); myImportOrganizeImportsConfig = isEclipseImportsConfigAvailable(); return myCorePreferences != null && formatterOptionsExist(myCorePreferences) && myUiPreferences != null; } catch (IOExcept... | loadEclipsePreferences |
26,153 | boolean (@NotNull Properties eclipseProperties) { for (String propertyKey : eclipseProperties.stringPropertyNames()) { if (propertyKey.startsWith(FORMATTER_OPTIONS_PREFIX)) return true; } return false; } | formatterOptionsExist |
26,154 | File (@NotNull String fileName) { String filePath = myProjectPath + File.separator + ECLIPSE_SETTINGS_SUBDIR + File.separator + fileName; File prefsFile = new File(filePath); return prefsFile.exists() ? prefsFile : null; } | getPreferencesFile |
26,155 | String () { return myProjectName; } | getProjectName |
26,156 | String () { String profileName = getFormatterProfileName(); return myProjectName + (profileName != null ? ": " + profileName : ""); } | toString |
26,157 | String () { String rawName = myUiPreferences != null ? myUiPreferences.getProperty(OPTION_FORMATTER_PROFILE) : null; if (rawName != null) { if (PREDEFINED_ECLIPSE_PROFILES.containsKey(rawName)) { return PREDEFINED_ECLIPSE_PROFILES.get(rawName); } rawName = StringUtil.trimStart(rawName, "_"); } return rawName; } | getFormatterProfileName |
26,158 | boolean () { return myUiPreferences != null && myUiPreferences.getProperty(OPTION_IMPORT_ORDER) != null; } | isEclipseImportsConfigAvailable |
26,159 | boolean () { return isEclipseImportsConfigAvailable() && myImportOrganizeImportsConfig; } | isImportOrganizeImportsConfig |
26,160 | void (boolean importOrganizeImportsConfig) { myImportOrganizeImportsConfig = importOrganizeImportsConfig; } | setImportOrganizeImportsConfig |
26,161 | void (@NotNull Properties uiPreferences, @NotNull CodeStyleSettings settings) { JavaCodeStyleSettings javaSettings = settings.getCustomSettings(JavaCodeStyleSettings.class); importOrderOfImports(uiPreferences, javaSettings); importStarImportThresholds(uiPreferences, javaSettings); javaSettings.LAYOUT_STATIC_IMPORTS_SEP... | importOptimizeImportsSettings |
26,162 | void (@NotNull Properties uiPreferences, @NotNull JavaCodeStyleSettings javaSettings) { String oderOfImportsValue = uiPreferences.getProperty(OPTION_IMPORT_ORDER); if (oderOfImportsValue != null) { PackageEntryTable importLayoutTable = new PackageEntryTable(); importLayoutTable.addEntry(PackageEntry.ALL_OTHER_STATIC_IM... | importOrderOfImports |
26,163 | void (@NotNull Properties uiPreferences, @NotNull JavaCodeStyleSettings javaSettings) { javaSettings.CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND = parseThreshold(uiPreferences.getProperty(OPTION_ON_DEMAND_IMPORT_THRESHOLD)); javaSettings.NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND = parseThreshold(uiPreferences.getProperty(OPTION_ON_D... | importStarImportThresholds |
26,164 | int (@Nullable String s) { if (s != null) { try { return Integer.parseInt(s); } catch (NumberFormatException nfe) { // ignore and return default } } return DEFAULT_IMPORTS_THRESHOLD; } | parseThreshold |
26,165 | boolean (@NotNull String tagName) { if (tagName.length() >= BACKGROUND_SUFFIX.length()) { tagName = tagName.substring(tagName.length() - BACKGROUND_SUFFIX.length()); return tagName.equalsIgnoreCase(BACKGROUND_SUFFIX); } return false; } | isBackground |
26,166 | String () { return myThemeName; } | getThemeName |
26,167 | int (@NotNull String tag, @NotNull Attributes attributes) { int fontStyle = getDefaultFontStyle(tag); String boldValue = attributes.getValue(BOLD_ATTR); if (boldValue != null) { if (Boolean.parseBoolean(boldValue)) fontStyle |= Font.BOLD; else fontStyle &= ~Font.BOLD; } String italicValue = attributes.getValue(ITALIC_A... | getFontStyle |
26,168 | int (@NotNull String tag) { //noinspection MagicConstant return ECLIPSE_DEFAULT_FONT_STYLES.getOrDefault(tag, Font.PLAIN); } | getDefaultFontStyle |
26,169 | EffectType (@NotNull Attributes attributes) { String strikeThrough = attributes.getValue(STRIKETHROUGH_ATTR); if (Boolean.parseBoolean(strikeThrough)) { return EffectType.STRIKEOUT; } String underline = attributes.getValue(UNDERLINE_ATTR); if (Boolean.parseBoolean(underline)) { return EffectType.LINE_UNDERSCORE; } retu... | getEffectType |
26,170 | void (@NotNull EditorColorsScheme scheme) { Color background = scheme.getDefaultBackground(); String defaultSchemeName = ColorUtil.isDark(background) ? "Darcula" : EditorColorsScheme.DEFAULT_SCHEME_NAME; EditorColorsScheme baseScheme = DefaultColorSchemesManager.getInstance().getScheme(defaultSchemeName); assert baseSc... | setupMissingColors |
26,171 | void (@NotNull EditorColorsScheme source, @NotNull EditorColorsScheme target, @NotNull TextAttributesKey key) { target.setAttributes(key, source.getAttributes(key)); } | copyAttributes |
26,172 | void (@NotNull EditorColorsScheme source, @NotNull EditorColorsScheme target, @NotNull ColorKey key) { target.setColor(key, source.getColor(key)); } | copyColor |
26,173 | void (@NotNull String name, @NotNull TextAttributes attributes) { switch (name) { case BACKGROUND_TAG -> { updateAttributes(HighlighterColors.TEXT, attributes); myColorsScheme.setColor(EditorColors.GUTTER_BACKGROUND, attributes.getBackgroundColor()); myColorsScheme.setColor(ConsoleViewContentType.CONSOLE_BACKGROUND_KEY... | handleColorOption |
26,174 | void (@NotNull TextAttributesKey key, @NotNull TextAttributes attributes) { if (myColorsScheme instanceof AbstractColorsScheme) { TextAttributes alreadyDefined = ((AbstractColorsScheme)myColorsScheme).getDirectlyDefinedAttributes(key); if (alreadyDefined != null) { alreadyDefined = alreadyDefined.clone(); if (attribute... | updateAttributes |
26,175 | TextAttributes (@NotNull TextAttributes attributes) { TextAttributes backgroundAttrs = attributes.clone(); backgroundAttrs.setBackgroundColor(attributes.getForegroundColor()); backgroundAttrs.setForegroundColor(null); return backgroundAttrs; } | toBackgroundAttributes |
26,176 | void () { myFixture.addFileToProject("p.properties", "key=value"); myFixture.addFileToProject("p_en.properties", "key=value eng"); final PsiFile file = myFixture.addFileToProject("p_ru.properties", ""); final PropertiesFile propertiesFile = PropertiesImplUtil.getPropertiesFile(file); assertNotNull(propertiesFile); fina... | testPropertyIsComplete |
26,177 | void () { myFixture.addFileToProject("p.properties", "key=value"); myFixture.addFileToProject("p_en.properties", "key=value eng"); final PsiFile file = myFixture.addFileToProject("p_ru.properties", "key=value rus"); final PropertiesFile propertiesFile = PropertiesImplUtil.getPropertiesFile(file); assertNotNull(properti... | testPropertyIsComplete2 |
26,178 | void () { myFixture.addFileToProject("p.properties", "key=value"); myFixture.addFileToProject("p_en.properties", "key=value eng"); myFixture.addFileToProject("p_fr.properties", ""); final PsiFile file = myFixture.addFileToProject("p_ru.properties", ""); final PropertiesFile propertiesFile = PropertiesImplUtil.getProper... | testPropertyIsIncomplete |
26,179 | void () { myFixture.addFileToProject("p.properties", "key=value"); myFixture.addFileToProject("p_en.properties", ""); myFixture.addFileToProject("p_en_EN.properties", ""); myFixture.addFileToProject("p_en_GB.properties", ""); final PsiFile file = myFixture.addFileToProject("p_en_US.properties", ""); final PropertiesFil... | testPropertyIsIncomplete2 |
26,180 | String () { return PluginPathManager.getPluginHomePath("properties") + "/tests/testData/insertManager/"; } | getTestDataPath |
26,181 | void () { myFixture.configureByFile(getTestName(true) + "/p.properties"); myFixture.configureByFile(getTestName(true) + "/p_en.properties"); myFixture.configureByFile(getTestName(true) + "/p_fr.properties"); final PsiFile file = myFixture.configureByFile(getTestName(true) + "/p_ru.properties"); final PropertiesFile pro... | testIsAlphaSorted |
26,182 | void () { doTest(new TestAction() { @Override public void doTestAction(PropertiesFile baseFile, PropertiesFile translationFile, ResourceBundlePropertiesUpdateManager manager) { assertTrue(manager.isAlphaSorted()); manager.insertNewProperty("l", "v"); manager.insertOrUpdateTranslation("d", "v", baseFile); manager.insert... | testAddToAlphaOrdered |
26,183 | void (PropertiesFile baseFile, PropertiesFile translationFile, ResourceBundlePropertiesUpdateManager manager) { assertTrue(manager.isAlphaSorted()); manager.insertNewProperty("l", "v"); manager.insertOrUpdateTranslation("d", "v", baseFile); manager.insertOrUpdateTranslation("r", "v", translationFile); manager.insertNew... | doTestAction |
26,184 | void () { doTest(new TestAction() { @Override public void doTestAction(PropertiesFile baseFile, PropertiesFile translationFile, ResourceBundlePropertiesUpdateManager manager) { assertFalse(manager.isAlphaSorted()); manager.insertNewProperty("bnm", "v"); manager.insertNewProperty("uio", "v"); manager.insertOrUpdateTrans... | testAddToOrdered |
26,185 | void (PropertiesFile baseFile, PropertiesFile translationFile, ResourceBundlePropertiesUpdateManager manager) { assertFalse(manager.isAlphaSorted()); manager.insertNewProperty("bnm", "v"); manager.insertNewProperty("uio", "v"); manager.insertOrUpdateTranslation("uio", "v", translationFile); manager.insertOrUpdateTransl... | doTestAction |
26,186 | void () { doTest(new TestAction() { @Override public void doTestAction(PropertiesFile baseFile, PropertiesFile translationFile, ResourceBundlePropertiesUpdateManager manager) { assertFalse(manager.isAlphaSorted()); manager.insertOrUpdateTranslation("bnm", "v", translationFile); manager.insertNewProperty("ghj", "v"); ma... | testAddToUnordered |
26,187 | void (PropertiesFile baseFile, PropertiesFile translationFile, ResourceBundlePropertiesUpdateManager manager) { assertFalse(manager.isAlphaSorted()); manager.insertOrUpdateTranslation("bnm", "v", translationFile); manager.insertNewProperty("ghj", "v"); manager.insertOrUpdateTranslation("ghj", "v", translationFile); man... | doTestAction |
26,188 | void (final TestAction testAction) { final PsiFile baseFile = myFixture.configureByFile(getTestName(true) + "/p.properties"); final PsiFile translationFile = myFixture.configureByFile(getTestName(true) + "/p_en.properties"); final PropertiesFile basePropertiesFile = PropertiesImplUtil.getPropertiesFile(baseFile); asser... | doTest |
26,189 | void () { final PsiFile file = myFixture.addFileToProject("empty.properties", ""); final ResourceBundleImpl bundle = new ResourceBundleImpl((PropertiesFile)file); bundle.invalidate(); ResourceBundleFileStructureViewElement myElement = new ResourceBundleFileStructureViewElement(bundle, () -> true); Assert.assertNull("Sh... | testGetFilesNull |
26,190 | void () { final PsiFile rawDefault = myFixture.addFileToProject("p.properties", ""); myFixture.addFileToProject("p_en.properties", ""); final PropertiesFile defaultFile = PropertiesImplUtil.getPropertiesFile(rawDefault); assertNotNull(defaultFile); final PropertiesFile file = defaultFile.getResourceBundle().getDefaultP... | testDefaultPropertyFile |
26,191 | void () { doTestRenameResourceBundleEntryFile("old_p.properties", "old_p_en.properties", "new_p.properties", "new_p_en.properties"); } | testRenameResourceBundleEntryFile |
26,192 | void () { doTestRenameResourceBundleEntryFile("ppp.properties", "ppp_en.properties", "qqq.properties", "qqq_en.properties"); } | testRenameResourceBundleEntryFile2 |
26,193 | void () { doTestRenameResourceBundleEntryFile("p.properties.properties", "p.properties_en.properties", "p.properties", "p_en.properties"); } | testRenameResourceBundleEntryFile3 |
26,194 | void () { final PsiFile toCheckFile = myFixture.addFileToProject("p.properties", "key=value"); myFixture.configureByText("p_en.properties", "ke<caret>y=en_value"); myFixture.renameElementAtCaret("new_key"); assertEquals(toCheckFile.getText(), "new_key=value"); } | testRenamePropertyKey |
26,195 | void () { final PsiFile xmlFile = myFixture.addFileToProject("p.xml", """ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> </properties>"""); final PsiFile propFile = myFixture.addFileToProject("p.properties", ""); final PropertiesFile xmlPropFile... | testDifferentPropertiesDontCombinedToResourceBundle |
26,196 | void (String fileNameToRenameBefore, String fileNameToCheckBefore, String fileNameToRenameAfter, String fileNameToCheckAfter) { final PsiFile toRenameFile = myFixture.addFileToProject(fileNameToRenameBefore, ""); final PsiFile toCheck = myFixture.addFileToProject(fileNameToCheckBefore, ""); final RenameProcessor proces... | doTestRenameResourceBundleEntryFile |
26,197 | boolean (@NotNull DataContext dataContext) { final Project project = CommonDataKeys.PROJECT.getData(dataContext); if (project == null) { return false; } final ResourceBundle bundle = ResourceBundleUtil.getResourceBundleFromDataContext(dataContext); if (bundle == null) { return false; } final FileEditor fileEditor = Pla... | isAvailableOnDataContext |
26,198 | void (final @NotNull Project project, Editor editor, final PsiFile file, DataContext dataContext) { final ResourceBundleEditor resourceBundleEditor = (ResourceBundleEditor)PlatformCoreDataKeys.FILE_EDITOR.getData(dataContext); assert resourceBundleEditor != null; final Object selectedElement = resourceBundleEditor.getS... | invoke |
26,199 | void (@NotNull Project project, PsiElement @NotNull [] elements, DataContext dataContext) { invoke(project, null, null, dataContext); } | invoke |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.