android-templates/testSrc/com/android/tools/idea/templates/diff/activity/GoldenFileValidator.kt (13 lines): - line 97: // TODO: b/390508868 - line 103: // TODO: b/390509438 - line 108: // TODO: b/390509533 - line 115: // TODO: b/390508796 - line 126: // TODO: b/390509166 - line 133: // TODO: b/390510059 - line 139: // TODO: b/390509936 - line 151: // TODO: b/390510577 - line 156: // TODO: b/390509164 - line 168: // TODO: b/390509164 - line 180: // TODO: b/390510579 - line 186: // TODO: b/390510067 - line 287: // TODO: are there other issues to ignore? android/editors.fast/testSrc/com/android/tools/idea/editors/fast/EmbeddedCompilerClientImplTest.kt (9 lines): - line 113: // TODO: solodkyy - get it the right way? - line 166: // TODO: solodkyy - get it the right way? - line 204: // TODO: solodkyy - get it the right way? - line 233: // TODO: solodkyy - get it the right way? - line 291: // TODO: solodkyy - get it the right way? - line 340: // TODO: solodkyy - get it the right way? - line 378: // TODO: solodkyy - get it the right way? - line 403: // TODO: solodkyy - get it the right way? - line 461: // TODO: solodkyy - get it the right way? android/src/com/android/tools/idea/run/deployment/liveedit/LiveEditUpdateException.kt (9 lines): - line 41: IWI_DISABLED("Compilation Error", "%", true, Status.COMPILATION_ERROR), // TODO: Add new metrics. - line 43: NON_COMPOSE("Non-Compose Module", "%", false, Status.NON_KOTLIN), // TODO: ADD REAL METRICS. (Currently treated as internal error) - line 44: NO_COMPOSE_PLUG_IN("Compilation Error", "%", true, Status.COMPILATION_ERROR), // TODO: Add new metrics. - line 47: NON_KOTLIN_IS_JAVA("Java file not supported", "%", false, Status.NON_KOTLIN), // TODO: Add new metrics. - line 48: NON_KOTLIN_IS_XML("XML file not supported", "%", false, Status.NON_KOTLIN), // TODO: Add new metrics. - line 69: UNSUPPORTED_SRC_CHANGE_ENUM("Unsupported change", "%", false, Status.UNKNOWN), // TODO: Add new metrics - line 77: MODULE_IS_DISPOSED("Module Disposed", "%", false, Status.MODULE_DISPOSED), // TODO: Add new metrics. - line 78: FILE_NOT_VALID("Invalid File", "%", true, Status.INVALID_FILE), // TODO: Add new metrics. - line 86: // TODO: Use this for all Vibe Edit related errors for now. Sort out what we should actually report once we are closer to shipping. android-npw/testSrc/com/android/tools/idea/npw/module/GenerateBaselineProfileModuleTest.kt (8 lines): - line 437: // TODO Write more interactions to optimize advanced journeys of your app. - line 511: // TODO Write more interactions to optimize advanced journeys of your app. - line 600: // TODO Add interactions to wait for when your app is fully drawn. - line 681: // TODO Add interactions to wait for when your app is fully drawn. - line 847: // TODO Write more interactions to optimize advanced journeys of your app. - line 921: // TODO Write more interactions to optimize advanced journeys of your app. - line 1006: // TODO Add interactions to wait for when your app is fully drawn. - line 1087: // TODO Add interactions to wait for when your app is fully drawn. designer/src/com/android/tools/idea/uibuilder/handlers/constraint/ConstraintLayoutHandler.java (8 lines): - line 235: // TODO Decide if we want lock actions.add(new LockConstraints()); - line 676: // TODO show dialog the inference failed - line 697: // TODO: Set icon when updating action. Otherwise, when changing theme, icon will remain with outdated theme. - line 942: } // TODO: add views to the barrier when not using the tags approach - line 957: // TODO add getAnalyticsManager(editor).trackAddHorizontalBarrier - line 1011: } // TODO: add views to the barrier when not using the tags approach - line 1025: // TODO add getAnalyticsManager(editor).trackAddVerticalBarrier - line 1435: // TODO: Use AndroidIcons.SherpaIcons.Margin instead? android/res/testSrc/com/android/tools/idea/res/ResourceFolderRepositoryTest.java (7 lines): - line 126: * TODO: Add XmlTags with PSI events to check childAdded etc working correctly. Currently they mostly seem to generate big rescans. - line 127: * TODO: Test moving from one resource folder to another. Should be simulated as an add in one folder and a remove in another. - line 129: * TODO: Test that adding and removing characters inside a {@code } element does not cause a full rescan. - line 482: // TODO: Make this work with copyFileToProject. - line 783: // TODO: Optimize this such that there's no modification change for this. It's tricky because - line 2706: // TODO: It would be nice to avoid updating the generation if you edit a different item - line 3584: // TODO: Test both *duplicating* a node, as well as manually typing in a brand new one with the same result. android/testData/projects/projectWithAppandLib/lib/src/main/java/com/example/projectwithappandlib/lib/LoginActivity.java (7 lines): - line 47: * TODO: remove after connecting to a real authentication system. - line 182: //TODO: Replace this with your own logic - line 187: //TODO: Replace this with your own logic - line 253: //TODO: Update this logic to also handle the user logged in by email. - line 263: // TODO: Access to the user's G+ account has been revoked. Per the developer terms, delete - line 382: // TODO: attempt authentication against a network service. - line 399: // TODO: register the new account here. android/testData/projects/psdSample/Groovy/lib/src/main/java/com/example/projectwithappandlib/lib/LoginActivity.java (7 lines): - line 47: * TODO: remove after connecting to a real authentication system. - line 182: //TODO: Replace this with your own logic - line 187: //TODO: Replace this with your own logic - line 253: //TODO: Update this logic to also handle the user logged in by email. - line 263: // TODO: Access to the user's G+ account has been revoked. Per the developer terms, delete - line 382: // TODO: attempt authentication against a network service. - line 399: // TODO: register the new account here. android/src/com/android/tools/idea/editors/manifest/ManifestPanel.java (7 lines): - line 143: // TODO for permission if not from main file - line 144: // TODO then have option to tools:node="remove" tools:selector="com.example.lib1" - line 146: // TODO merge conflict, then use tools:node=”replace” - line 147: // TODO or tools:node=”merge-only-attributes” - line 149: // TODO add option to tools:node=”removeAll" Remove all elements of the same node type - line 150: // TODO add option to tools:node=”strict” can be added to anything that merges perfectly - line 553: sb.add("Value provided by Gradle"); // TODO: include module source? Are we certain it's correct? android/testData/snapshots/projects/psdSample/Kotlin/lib/src/main/java/com/example/projectwithappandlib/lib/LoginActivity.java (7 lines): - line 47: * TODO: remove after connecting to a real authentication system. - line 182: //TODO: Replace this with your own logic - line 187: //TODO: Replace this with your own logic - line 253: //TODO: Update this logic to also handle the user logged in by email. - line 263: // TODO: Access to the user's G+ account has been revoked. Per the developer terms, delete - line 382: // TODO: attempt authentication against a network service. - line 399: // TODO: register the new account here. android/testData/snapshots/projects/psdSample/Groovy/lib/src/main/java/com/example/projectwithappandlib/lib/LoginActivity.java (7 lines): - line 47: * TODO: remove after connecting to a real authentication system. - line 182: //TODO: Replace this with your own logic - line 187: //TODO: Replace this with your own logic - line 253: //TODO: Update this logic to also handle the user logged in by email. - line 263: // TODO: Access to the user's G+ account has been revoked. Per the developer terms, delete - line 382: // TODO: attempt authentication against a network service. - line 399: // TODO: register the new account here. designer/src/com/android/tools/idea/common/model/NlComponentBackend.kt (7 lines): - line 28: * TODO: Update APIs accordingly once refactoring is finished. - line 29: * TODO: Evaluate if psi element dependencies are necessary. - line 33: // TODO: remove - line 36: // TODO: remove - line 45: // TODO: remove - line 66: // TODO: return list later. - line 69: // TODO: potentially remove later (by adding directly to transaction commit) android/testData/projects/psdSample/Kotlin/lib/src/main/java/com/example/projectwithappandlib/lib/LoginActivity.java (7 lines): - line 47: * TODO: remove after connecting to a real authentication system. - line 182: //TODO: Replace this with your own logic - line 187: //TODO: Replace this with your own logic - line 253: //TODO: Update this logic to also handle the user logged in by email. - line 263: // TODO: Access to the user's G+ account has been revoked. Per the developer terms, delete - line 382: // TODO: attempt authentication against a network service. - line 399: // TODO: register the new account here. layout-inspector/src/com/android/tools/idea/layoutinspector/snapshots/LayoutInspectorFileEditor.kt (7 lines): - line 125: // TODO: error handling - line 134: // TODO: persisted tree setting scoped to file - line 162: // TODO: save zoom in editor state - line 174: // TODO: better error panel - line 183: // TODO these "gap" calls can be removed after the images in - line 212: // TODO: we should restore the selection state at least - line 224: // TODO: we should save the selection state at least android/testData/projects/psdProjectDir/module/lib/src/main/java/com/example/projectwithappandlib/lib/LoginActivity.java (7 lines): - line 47: * TODO: remove after connecting to a real authentication system. - line 182: //TODO: Replace this with your own logic - line 187: //TODO: Replace this with your own logic - line 253: //TODO: Update this logic to also handle the user logged in by email. - line 263: // TODO: Access to the user's G+ account has been revoked. Per the developer terms, delete - line 382: // TODO: attempt authentication against a network service. - line 399: // TODO: register the new account here. android/src/org/jetbrains/android/dom/navigation/NavigationSchema.java (7 lines): - line 126: // TODO: move these to a UI-specific place - line 166: * TODO: it would be nice to have this specified by the platform somehow that didn't require hardcoding of class names in Studio. - line 480: * TODO: re-initialize when libraries or Navigator subclasses are added or removed. - line 673: // TODO: remove once the base classes are properly annotated - line 878: * TODO: investigate whether this can be done using the normal mechanism and a DomExtender (specifically for the root tag). - line 1003: * TODO: determine if tags specified anywhere in the supertype hierarchy should be included. - line 1073: // TODO: move this section to another class, since this class shouldn't deal with UI stuff android/actions/testSrc/com/android/tools/idea/actions/annotations/InferAnnotationsTest.kt (6 lines): - line 58: // TODO: Test varargs - line 59: // TODO: Inferred Permission requirement with multiple (anyOf/allOf) - line 60: // TODO: Resource types with array initializer - line 61: // TODO: Restore disabled/ignored tests - line 774: // TODO: What about androidx' core/core/src/main/java/androidx/core/math/MathUtils.java? - line 2104: // TODO: usedFromReflection2(String>) below is suspicious; figure out why android/jetbrains/testSrc/org/jetbrains/android/dom/AndroidDomTestCase.java (6 lines): - line 111: // TODO: Kill getTestName, make test classes specify the golden file explicitly. - line 121: // TODO: Kill getTestName, make test classes specify the golden file explicitly. - line 191: // TODO: Kill getTestName, make test classes specify the golden file explicitly. - line 222: // TODO: Kill getTestName, make test classes specify the golden file explicitly. - line 234: // TODO: Kill getTestName, make test classes specify the golden file explicitly. - line 264: // TODO: Kill getTestName, make test classes specify the golden file explicitly. assistant/src/com/android/tools/idea/assistant/view/TutorialStep.java (6 lines): - line 97: * TODO: Move render properties to a form. - line 101: // TODO: Refactor number related code to be an inner class + revisit colors. - line 130: // TODO: Consider the setup being in the ctors of customer inner classes. - line 156: // TODO: Make a custom inner class to handle this. - line 460: * TODO: Determine why the background does not update on theme change. - line 518: * TODO: Only do this on the final editor creation, but ensure that we've got the track height when setting the preffered height in designer/src/com/android/tools/idea/common/scene/Scene.java (6 lines): - line 219: // TODO: Update to support multi-model - line 943: // TODO: b/180067858 Clean up the render path. Currently mNeedsLayout is never ANIMATED_LAYOUT. - line 979: // TODO: Check if it is samw as started. - line 1015: // TODO: Clear in findSelectionOfCurve. - line 1080: // TODO: reduce visibility? Probably the modified SceneComponents should do this rather than - line 1192: // TODO: Reuse snapshot! android/src/com/android/tools/idea/run/deployment/liveedit/LiveEditProjectMonitor.java (5 lines): - line 169: // TODO: The logging is overly excessive for now given we have no UI to provide feedback to the user - line 178: // TODO: This is the Thread where we process keystroke but also where we receive appDeploy. - line 234: // TODO: This maze of listeners is complicated. LiveEditDevices should directly implement LiveEditAdbEventsListener. - line 521: // TODO: Add LiveEditEvent.Mode.AGENT_TOOL_VIBE - line 618: // TODO: Set unrestricted to true if mode == ON_VIBE android/ui.resourcemanager/testSrc/com/android/tools/idea/ui/resourcemanager/sketchImporter/DocumentParserTest.kt (5 lines): - line 42: // TODO images when implemented in the class - line 53: // TODO when we get a better test file - line 97: // TODO when we get a better test file - line 121: // TODO when we get a better test file - line 134: // TODO after creating TextStyle assistant/src/com/android/tools/idea/assistant/view/TutorialChooser.java (5 lines): - line 64: // TODO: Figure out where extra padding is coming from. - line 94: // TODO: Common glue treatment for GridBagLayout, move to a helper. - line 130: * TODO: Pull this out into a light-weight reusable class for this type of - line 140: // TODO: Make this be proportional to container size. - line 146: // TODO: Make this be proportional to container size. designer/src/com/android/tools/idea/uibuilder/menu/GroupDragHandler.java (5 lines): - line 88: // TODO Handle more than one item - line 115: // TODO Handle more than one item - line 127: // TODO Handle more than one item - line 168: // TODO: Adjust for correct namespace - line 171: // TODO Handle more than one item android/testData/snapshots/projects/psdSample/Kotlin/app/src/paid/java/com/example/projectwithappandlib/app/paid/BlankFragment.java (5 lines): - line 24: // TODO: Rename parameter arguments, choose names that match - line 29: // TODO: Rename and change types of parameters - line 43: // TODO: Rename and change types and number of parameters - line 73: // TODO: Rename method, update argument and hook method into UI event - line 108: // TODO: Update argument type and name assistant/src/com/android/tools/idea/assistant/view/UIUtils.java (5 lines): - line 46: * TODO: Add font defaults. - line 52: * TODO: Currently mirrors the quoted string editor colors. Directly leveraging something else that shares semantics would be ideal. - line 59: * TODO: Currently mirrors the keyword (4th variant) editor colors. Directly leveraging something else that shares semantics would be - line 173: * TODO: Determine how to respond to theme change such that colors are updated. Currently this involves link colors as well as code - line 214: // TODO: Determine if the label font is the ideal font choice. android/src/com/android/tools/idea/res/IdeResourcesUtil.kt (5 lines): - line 408: else -> // TODO: removing that makes some of unit tests fail, but leaving it as it is can - line 943: // TODO: Make sure I correct handle HTML content for XML items in nodes! - line 1325: // TODO: No, we need to check per resource folder type here. There is a validator for this! - line 1612: // TODO: Figure out a better way to check if a directory belongs to proto AAR resources. - line 2063: // TODO: Consider storing XmlAttribute instead of XmlTag in PsiResourceItem. app-quality-insights/ide/testSrc/com/android/tools/idea/insights/inspection/AppInsightsExternalAnnotatorOnChangeTest.kt (5 lines): - line 80: // TODO: - line 114: // TODO: - line 148: // TODO: - line 172: // TODO: - line 216: fun onCreate() { //TODO: gradle-dsl/testSrc/com/android/tools/idea/gradle/dsl/model/ext/GradlePropertyModelTest.kt (5 lines): - line 2271: // TODO: Order of statements is wrong so this model does not get correctly parsed. - line 2444: // TODO: This is not currently parsed. - line 2738: // TODO: Should not be visible, this needs line number support to correctly hide itself. - line 3460: verifyPropertyModel(dependencyModel, INTEGER_TYPE, one, INTEGER, DERIVED, 0 /*, "0", "ext.prop1.0" TODO: FIX THIS */) - line 3472: verifyPropertyModel(dependencyModel, INTEGER_TYPE, two, INTEGER, DERIVED, 0 /*, "0", "ext.prop1.0" TODO: FIX THIS */) nav/editor/src/com/android/tools/idea/naveditor/scene/NavSceneManager.kt (5 lines): - line 202: * TODO: in SceneManager.createHierarchy we try to reuse SceneComponents if possible. Moving - line 369: * TODO: decide if this is also what we should do for other action types, and if so restore clips - line 396: // TODO: Handle duplicate ids - line 570: // TODO: this should be moved somewhere model-specific, since it is relevant even absent a Scene - line 581: // TODO error handling (if newRoot is null) android/testData/projects/projectWithAppandLib/app/src/paid/java/com/example/projectwithappandlib/app/paid/BlankFragment.java (5 lines): - line 24: // TODO: Rename parameter arguments, choose names that match - line 29: // TODO: Rename and change types of parameters - line 43: // TODO: Rename and change types and number of parameters - line 73: // TODO: Rename method, update argument and hook method into UI event - line 108: // TODO: Update argument type and name profilers/src/com/android/tools/profilers/StudioProfilers.java (5 lines): - line 329: // TODO: StudioProfilers initalizes with a default session, which a lot of tests now relies on to avoid a NPE. - line 699: // TODO: Clean up this exception, this has the potential to capture some subtle bugs - line 901: // TODO: If there are multiple instances of StudioProfiers class, we should call stopProfiling() only once. - line 1069: *

TODO (78597376): Clean up the method to make it reusable.

- line 1211: // TODO: Unify with how monitors expand. android/jetbrains/testSrc/org/jetbrains/android/dom/AndroidValueResourcesTest.java (5 lines): - line 1050: // TODO: Kill getTestName, make test classes specify the golden file explicitly. - line 1059: // TODO: Kill getTestName, make test classes specify the golden file explicitly. - line 1095: // TODO: Kill getTestName, make test classes specify the golden file explicitly. - line 1130: // TODO: Kill getTestName, make test classes specify the golden file explicitly. - line 1148: // TODO: Kill getTestName, make test classes specify the golden file explicitly. android/testData/snapshots/projects/psdSample/Groovy/app/src/paid/java/com/example/projectwithappandlib/app/paid/BlankFragment.java (5 lines): - line 24: // TODO: Rename parameter arguments, choose names that match - line 29: // TODO: Rename and change types of parameters - line 43: // TODO: Rename and change types and number of parameters - line 73: // TODO: Rename method, update argument and hook method into UI event - line 108: // TODO: Update argument type and name android/testData/projects/psdSample/Kotlin/app/src/paid/java/com/example/projectwithappandlib/app/paid/BlankFragment.java (5 lines): - line 24: // TODO: Rename parameter arguments, choose names that match - line 29: // TODO: Rename and change types of parameters - line 43: // TODO: Rename and change types and number of parameters - line 73: // TODO: Rename method, update argument and hook method into UI event - line 108: // TODO: Update argument type and name android/testData/projects/psdSample/Groovy/app/src/paid/java/com/example/projectwithappandlib/app/paid/BlankFragment.java (5 lines): - line 24: // TODO: Rename parameter arguments, choose names that match - line 29: // TODO: Rename and change types of parameters - line 43: // TODO: Rename and change types and number of parameters - line 73: // TODO: Rename method, update argument and hook method into UI event - line 108: // TODO: Update argument type and name android/src/com/android/tools/idea/res/ResourceFolderRepository.java (5 lines): - line 860: // TODO: Consider doing a deeper diff of the changes to the resource items - line 1414: // TODO: Handle removals of id's (values an attributes) incrementally. - line 1591: // TODO: Handle adding/removing elements in layouts incrementally. - line 1951: // TODO: If I get an XmlText change and the parent is the resources tag or it's a layout, nothing to do. - line 2275: // TODO: Add visibility support. android/src/com/android/tools/idea/actions/annotations/InferAnnotations.kt (4 lines): - line 145: * TODO: - line 568: // TODO: Determine whether this method is reached *unconditionally* - line 648: // TODO: For performance reasons consider only doing this lookup later after one of the arguments - line 1006: // TODO: KDoc support gradle-declarative-lang-ide/testSrc/com/android/tools/idea/gradle/dcl/lang/ide/DeclarativeTodoTest.kt (4 lines): - line 26: // [TODO first line] - line 31: // [TODO first line] - line 36: /* [TODO first line] - line 42: /* [TODO first line] aswb/aswb/src/com/google/idea/blaze/android/projectsystem/BlazeModuleSystemBase.java (4 lines): - line 188: // TODO: automagically edit deps instead of just opening the BUILD file? - line 222: // TODO: maybe do something different if this id is an -Unknown- vs -Target- - line 238: // TODO: decide what constitutes a registered dependency for the .workspace module - line 298: // TODO (b/262289199): While there is a way of mapping a gradle coordinate to a target, project-system-gradle-upgrade/src/com/android/tools/idea/gradle/project/upgrade/ui/UpgradeAssistantWindowModel.kt (4 lines): - line 583: // TODO (mlazeba/xof): baseDir is deprecated, how can we avoid it here? - line 666: // TODO copied from AndroidGradleProjectSettingsControlBuilder.kt. If works - try to reuse instead. - line 669: //TODO removed for now to test - line 693: //TODO not sure why we need to 'hide' project sdk from the model. designer/src/com/android/tools/idea/rendering/RenderErrorContributorImpl.java (4 lines): - line 1024: // TODO: Check to see if it looks like it's the name of a custom view and the - line 1157: // TODO: Add link to not warn any more for this session - line 1174: // TODO: Look up layout references in the given layout, if possible - line 1184: // TODO: Should instead find all R.layout elements designer/src/com/android/tools/idea/common/model/AttributesTransaction.java (4 lines): - line 43: * TODO: remove layout-specific logic from this class - line 72: // TODO: fix this. - line 111: // TODO: Investigate a more lightweight solution for this. - line 310: // TODO: Investigate a more lightweight solution for this. designer/src/com/android/tools/idea/common/surface/GuiInputHandler.java (4 lines): - line 302: * TODO: Remove this function when test framework use real interaction for testing. - line 428: // TODO: move this logic into InteractionHandler.createInteractionOnPressed() - line 450: // TODO: Should we update the last mouse position and modifiers here? - line 627: // TODO (b/142953949): this should be handled by PanInteraction itself. android-adb/src/com/android/tools/idea/adb/wireless/WiFiPairingServiceImpl.kt (4 lines): - line 51: // TODO: Investigate updating (then using) ddmlib instead of spawning an adb client command, so - line 145: // TODO: Investigate updating (then using) ddmlib instead of spawning an adb client command, so - line 200: // TODO: Update this when password can be passed as an argument - line 202: // TODO: Investigate updating (then using) ddmlib instead of spawning an adb client command, so android/src/com/android/tools/idea/ui/resourcemanager/sketchImporter/converter/builders/SketchToStudioConverter.java (4 lines): - line 84: // TODO get colors from solid fill shapes & drawables from slices - line 155: // TODO Slice to Drawable conversion - line 157: // TODO ShapeFill to Color conversion - line 649: colorListBuilder.add(new ColorAssetModel(true, style.getName(), color, AssetModel.Origin.SHARED)); // TODO sanitize name android/src/org/jetbrains/android/AndroidAnnotatorUtil.java (4 lines): - line 196: // Not logging for now; afraid to risk unexpected crashes in upcoming preview. TODO: Re-enable. - line 213: // TODO: For XML drawables, look in the rendered output to see if there's a DPI version we can use: - line 424: // TODO: When the color is color state, open color picker with resource tab and select it. - line 458: // TODO: Compare with modification count in app resources (if not framework). designer/src/com/android/tools/idea/actions/ThemeSelectionPanel.java (4 lines): - line 77: * TODO: In the future, make it easy to create new themes here, as well as assigning a theme - line 438: // TODO: Perhaps show the full theme somewhere, perhaps list the theme definitions, perhaps - line 525: // TODO: Use tree to add nesting; e.g. add holo light as a category under holo? - line 595: // TODO: Add other logical types here, e.g. Wallpaper, Alert, etc? android/src/com/android/tools/idea/configurations/ConfigurationMatcher.java (4 lines): - line 496: // TODO: display a better warning! - line 505: // TODO: there is no device/config able to display the layout, create one. - line 628: // TODO: Maybe check the compatible-screen tag in the manifest to figure out - line 646: // TODO: This is running too late for the layout preview; the new editor has android-common/src/com/android/tools/idea/progress/StudioProgressIndicatorAdapter.java (4 lines): - line 47: // TODO: Right now ProgressIndicator doesn't have a way to indicate that it has completed successfully. If needed, that case should also - line 69: // TODO: ProgressIndicator currently has no way to retrieve its text and other state. If it's important to be able to retrieve that - line 82: // TODO: ProgressIndicator currently has no way to retrieve its text and other state. If it's important to be able to retrieve that - line 110: // TODO: ProgressIndicator currently has no way to retrieve its state. If it's important to be able to retrieve that state once set, designer/src/com/android/tools/idea/common/surface/DesignSurface.kt (4 lines): - line 182: // TODO: handle the case when selection are from different NlModels. - line 410: // TODO: Do this as part of the layout/validate operation instead - line 643: // TODO Maybe have a reference to virtualFile directly instead of from NlModel - line 886: // TODO: For keeping the behaviour as before in multi-model case, we return primary SceneView aswb/querysync/java/com/google/idea/blaze/qsync/project/BuildGraphDataImpl.kt (4 lines): - line 207: // TODO: b/397649793 - Remove this method when fixed. - line 339: // TODO: b/334110669 - support Bazel workspaces. - line 476: // TODO: relativize here. - line 477: // TODO: support Bazel. designer/src/com/android/tools/idea/uibuilder/handlers/relative/draw/RelativeLayoutDecorator.kt (4 lines): - line 66: * TODO: Add visibility options of RelativeLayout to tool bar - line 89: // TODO: Add preferences to toggle showing all contraints - line 323: // TODO: refactor to utility class - line 637: // TODO: refactr vertical and horizontal arrow drawing commands. streaming/src/com/android/tools/idea/streaming/emulator/RunningEmulatorCatalog.kt (4 lines): - line 60: // TODO: Use WatchService instead of polling. - line 281: // TODO: Implement exponential backoff for retries. - line 349: // TODO: Remove replace('_', ' ') after January 1, 2024. It was a workaround for b/208966801. - line 353: // TODO: The toRealPath call is a workaround for b/280110539. Remove after January 1, 2024. android/run/testSrc/com/android/tools/idea/run/AndroidRunConfigurationExecutorTest.kt (4 lines): - line 216: deviceState.stopClient(1234) // TODO: flaky test b/273744887 - line 224: fun debugSucceeded() { //TODO: write handler in fakeAdb for "am capabilities --protobuf" - line 636: //TODO: write handler in fakeAdb for "am capabilities --protobuf" - line 862: deviceState.stopClient(1234) // TODO: flaky test b/273744887 layout-inspector/src/com/android/tools/idea/layoutinspector/resource/ResourceLookupResolver.kt (4 lines): - line 268: // TODO: Fix the namespace computation below... - line 535: // TODO: Unfortunately style items are not ResourceItems. For now lookup the item in the XmlTag - line 552: // TODO: Select the correct state between the sub tags of rootTag on the actual state of the - line 566: // TODO: Remove this when project style values are known to also be ResourceItems android-adb-ui/src/com/android/tools/idea/ui/screenrecording/ScreenRecorderAction.kt (4 lines): - line 141: //TODO: Check for `stderr` and `exitCode` to report errors - line 164: //TODO: Check for `stderr` and `exitCode` to report errors - line 170: //TODO: Check for `stderr` and `exitCode` to report errors - line 179: //TODO: Check for `stderr` and `exitCode` to report errors designer/src/com/android/tools/idea/uibuilder/model/NlComponentHelper.kt (4 lines): - line 238: ) // TODO: getPaddingStart! - line 425: // FIXME: Remove editor. - line 519: // ResourceValue. TODO: aapt namespace? - line 676: // TODO Add a needsId method to the handler classes android-lang-databinding/src/com/android/tools/idea/lang/databinding/validation/DataBindingExpressionAnnotator.kt (3 lines): - line 250: * TODO: (b/135638810) Add additional methods here - line 318: // TODO: (b/135948299) Once we can resolve lambda parameters, we don't need to explicitly allow their usages any more. - line 329: // TODO: (b/141703341) Add references to array types. android/navigator/testSrc/com/android/tools/idea/navigator/AndroidProjectViewTest.java (3 lines): - line 92: // TODO: Test available actions for each node! - line 153: // TODO add noSync variant in case of test failures - line 210: // TODO add noSync variant in case of test failures android-transport/src/com/android/tools/idea/transport/TransportDeviceManager.java (3 lines): - line 450: TODO: investigate why ant build fails to find the ManagedChannel-related classes - line 486: // TODO using directexecutor for this channel freezes up grpc calls that are redirected to the device (e.g. GetTimes) - line 506: // TODO: move ProfilerServiceProxy to support user-triggered retries, in cases where 1m isn't enough for the emulator to boot. android-adb/src/com/android/tools/idea/adb/wireless/PairingCodePairingController.kt (3 lines): - line 61: // TODO: Ensure not disposed and state still the same - line 73: // TODO: Ensure not disposed and state still the same - line 83: // TODO: Ensure not disposed and state still the same android-lint/src/com/android/tools/idea/lint/model/LintModelFactory.kt (3 lines): - line 186: // TODO - expose compile jar vs impl jar? - line 202: // TODO - expose compile jar vs impl jar? - line 457: * TODO: This is not correct; this method simultaneously returns both the unit test and android/src/org/jetbrains/android/dom/AttributeProcessingUtil.kt (3 lines): - line 267: // TODO: add a warning when rest of the code of AndroidDomExtender is cleaned up - line 327: // TODO: Replace this with the namespace of the styleableName when that is available. - line 772: // TODO: figure it out how to make it DRY without introducing new method with lots of arguments aswb/base/src/com/google/idea/blaze/base/qsync/ProjectLoaderImpl.java (3 lines): - line 175: WorkspaceRoot workspaceRoot = WorkspaceRoot.fromProject(project); // TODO: solodkyy - read from the project view. - line 176: // TODO we may need to get the WorkspacePathResolver from the VcsHandler, as the old sync - line 185: // TODO: solodkyy - read from the project view. profilers-ui/src/com/android/tools/profilers/cpu/capturedetails/CaptureNodeHRenderer.java (3 lines): - line 70: // TODO (b/74349846): Change this function to use a binder base on CaptureNode. - line 91: // TODO (b/74349846): Change this function to use a binder base on CaptureNode. - line 118: // TODO: maybe cache for performance? android/testData/projects/navigationEditor/includeFromLib/lib/src/main/java/com/example/lib/PageTwoFragment.java (3 lines): - line 21: // TODO: Rename parameter arguments, choose names that match - line 26: // TODO: Rename and change types of parameters - line 42: // TODO: Rename and change types and number of parameters android/testData/projects/navigationEditor/includeFromLib/app/src/main/java/com/example/navgraph/PageOneFragment.java (3 lines): - line 21: // TODO: Rename parameter arguments, choose names that match - line 26: // TODO: Rename and change types of parameters - line 42: // TODO: Rename and change types and number of parameters profilers/testSrc/com/android/tools/profilers/cpu/simpleperf/SimpleperfTraceParserTest.kt (3 lines): - line 99: // TODO: Update file name along with the trace files - line 114: // TODO: Update file name along with the trace files - line 129: // TODO: Update file name along with the trace files layout-inspector/src/com/android/tools/idea/layoutinspector/pipeline/appinspection/AppInspectionInspectorClient.kt (3 lines): - line 248: // TODO: unify with compose checks in ComposeLayoutInspectorClient#checkComposeVersion - line 291: // TODO: check if the device is an XR device before doing this. - line 379: // TODO: skiaParser#shutdown is a blocking function. Should be ported to coroutines android/src/com/android/tools/idea/avdmanager/DeviceDefinitionDownloadService.java (3 lines): - line 33: // TODO Add the thread comments and annotations - line 51: // TODO Handle success and failure - line 61: // TODO Do something with the devices android/testData/snapshots/projects/includeFromLib/lib/src/main/java/com/example/lib/PageTwoFragment.java (3 lines): - line 21: // TODO: Rename parameter arguments, choose names that match - line 26: // TODO: Rename and change types of parameters - line 42: // TODO: Rename and change types and number of parameters designer/src/com/android/tools/idea/uibuilder/model/LayoutParamsManager.java (3 lines): - line 182: // TODO: Should this deal with overloading? - line 228: // TODO: LayoutParams fields contain the ViewDebug runtime annotation that would allow us mapping both enums and flags - line 416: // TODO: Remove this wrapping/unwrapping adt-ui/src/main/java/com/android/tools/adtui/categorytable/CategoryTable.kt (3 lines): - line 219: // TODO: Make this efficient - line 571: // TODO: refine this - line 578: // TODO: refine this transport-database/src/main/java/com/android/tools/datastore/DataStoreDatabase.java (3 lines): - line 28: // TODO handle potential db file name clashes - line 70: // TODO: Investigate removing this when we add a feature to restore sessions from prior Studio runs. - line 88: // TODO: Create a timer and commit the database transaction every X seconds. adt-ui/src/main/java/com/android/tools/adtui/chart/linechart/OverlayComponent.java (3 lines): - line 31: * TODO: currently this supports dispatching unhandled events to a selected component, but that dispatching mechanism is direct. - line 90: // TODO make this an interface - line 99: // TODO make this an interface profilers/src/com/android/tools/profilers/memory/BaseMemoryProfilerStage.kt (3 lines): - line 83: // TODO: (revisit) we have an special case in interacting with RangeSelectionModel - line 103: // TODO: (revisit) - do we want to pass in data range to loadCapture as well? - line 120: // TODO: loading has somehow failed - we need to inform users about the error status. android-npw/src/com/android/tools/idea/npw/assetstudio/assets/LayeredImageConverter.java (3 lines): - line 133: // TODO: handle group clipping bases (take all their shapes) - line 140: // TODO: use clip-path instead of areas - line 289: // TODO: use clip-path instead of areas designer/src/com/android/tools/idea/uibuilder/property/support/TypeResolver.kt (3 lines): - line 54: // TODO: expand in a followup CL - line 116: NlPropertyType.ID // TODO: Support as resource type? - line 277: // TODO: Figure out a way to map this using ToolsAttributeUtil designer/src/com/android/tools/idea/uibuilder/editor/NlActionManager.java (3 lines): - line 95: * TODO: Try to make all actions work for all design tools, so we can remove this data key. - line 309: // TODO: Perform caching - line 490: // TODO: refactor this function to remove getConfirmationMessage and affectsUndo. android/src/com/android/tools/idea/ui/resourcemanager/explorer/ResourceExplorerListView.kt (3 lines): - line 371: // TODO: Figure out a way to render a BaseAssets, for things like Tools -> SampleData. - line 488: if (moduleSearchView == null) return // TODO: Log? - line 497: // TODO: Get the facet when the module is being set in ResourceExplorerViewModel by passing the module name instead of the actual facet. project-system-gradle/src/com/android/tools/idea/run/GradleApkProvider.java (3 lines): - line 399: //TODO: Is this the right thing to do? - line 423: // TODO: Read the install options from AGP json. - line 805: * TODO: Until the "selectApks" tasks lets us specify the list of features, we rely on the fact transport-database/src/main/java/com/android/tools/datastore/service/ProfilerService.java (3 lines): - line 71: // TODO (b/67508808) re-investigate whether we should use a poller to update the session instead. - line 96: // TODO (b/67508808) re-investigate whether we should use a poller to update the session instead. - line 119: // TODO (b\67509712): properly delete all data related to the session. android/src/com/android/tools/idea/run/AndroidRunConfiguration.kt (3 lines): - line 221: override fun getRefactoringElementListener(element: PsiElement): RefactoringElementListener? { // TODO: This is a bit of a hack: Currently, refactoring only affects the specific activity launch, so we directly peek into it and - line 281: // TODO: we probably need a better way to do this rather than peeking into the option state - line 313: // TODO: we probably need a better way to do this rather than peeking into the option state, possibly just delegate equals to the option layout-inspector/src/com/android/tools/idea/layoutinspector/skia/SkiaParserServerConnection.kt (3 lines): - line 51: // TODO: optimize - line 104: // TODO: actually find and (re-)launch the server, and reconnect here if necessary. - line 113: // TODO: chunk incoming images profilers/src/com/android/tools/profilers/cpu/simpleperf/SimpleperfTraceParser.java (3 lines): - line 311: // TODO: create a trace file to test this exception is thrown when it should. - line 425: // TODO: when --trace-offcpu is supported, we will need to call updateAncestorsEndTime if sample has a "schedule" out event. - line 431: // TODO: when --trace-offcpu is supported, we need to check if the last sample has a "schedule" out event before updating the end time. android/testData/projects/navigationEditor/includeFromLib/lib/src/main/java/com/example/lib/PageThreeFragment.java (3 lines): - line 18: // TODO: Rename parameter arguments, choose names that match - line 23: // TODO: Rename and change types of parameters - line 39: // TODO: Rename and change types and number of parameters android/src/com/android/tools/idea/editors/liveedit/LiveEditServiceImpl.kt (3 lines): - line 138: // TODO: Delete if it turns our we don't need Hard-refresh trigger. - line 183: // TODO: Refactor this away when AndroidLiveEditDeployMonitor functionality is moved to LiveEditService/other classes. - line 243: //TODO: "Not yet implemented" profilers/src/com/android/tools/profilers/analytics/FeatureTracker.kt (3 lines): - line 248: * TODO: This needs to be hooked up. - line 254: * TODO: This needs to be hooked up. - line 260: * TODO: This needs to be hooked up. android/testData/snapshots/projects/includeFromLib/app/src/main/java/com/example/navgraph/PageOneFragment.java (3 lines): - line 21: // TODO: Rename parameter arguments, choose names that match - line 26: // TODO: Rename and change types of parameters - line 42: // TODO: Rename and change types and number of parameters project-system-gradle-psd/src/com/android/tools/idea/gradle/structure/model/android/PsSigningConfig.kt (3 lines): - line 94: // TODO: Store project relative path if possible. - line 105: // TODO: Properly handle other password types. - line 125: // TODO: Properly handle other password types. designer/src/com/android/tools/idea/common/surface/InteractionHandler.kt (3 lines): - line 271: // TODO (b/151315668): extract the hardcoded value "LayoutEditor". Be aware this value is used - line 296: // TODO: Use {@link SceneViewHelper#selectComponentAt() instead. - line 312: // TODO: Use {@link SceneViewHelper#selectComponentAt() instead. layout-inspector/src/com/android/tools/idea/layoutinspector/skia/SkiaParserServerConnectionFactory.kt (3 lines): - line 134: // TODO: async and progress - line 219: // TODO: async and progress - line 239: // TODO: probably don't show dialog ever? android/src/com/android/tools/idea/refactoring/modularize/AndroidModularizePreviewPanel.java (3 lines): - line 101: ColumnInfo[] classesColumns = new ColumnInfo[]{new TreeColumnInfo("")}; // TODO: add method counts - line 187: ResourceUrlTreeNode urlTreeNode = new ResourceUrlTreeNode(resourceReference.getResourceUrl()); // TODO: namespaces - line 270: // TODO: Disabling a node should disable the children in its dominator tree (compute dominator tree in the handler). profilers/src/com/android/tools/profilers/sessions/SessionsManager.java (3 lines): - line 78: // TODO add enums for sessions created via the toolbar's profile button, or via opening the profiler UI manually - line 544: // TODO remove hard-coded path by sharing what's used in TransportFileManager - line 619: // TODO b/141261422 the main update loop does not handle removing items at the moment. For now we manually remove the SessionItem and android/src/com/android/tools/idea/run/deployment/liveedit/LiveEditCompiler.kt (3 lines): - line 149: // TODO: Need better implementation for multiple prompts? - line 161: // TODO: Consider making Live Edit a suspendable call as well. - line 174: // TODO: FIX THIS! designer/src/com/android/tools/idea/uibuilder/property/NlPropertyItem.kt (3 lines): - line 190: // TODO: Change the namespace property above to be of type ResourceReference - line 197: // TODO: Use the namespace resolver in ResourceHelper when it no longer returns - line 532: // TODO: Check the syntax and type of the sample data streaming/src/com/android/tools/idea/streaming/device/AudioDecoder.kt (3 lines): - line 183: //codecContext.request_sample_fmt(AV_SAMPLE_FMT_S16) //TODO: Figure out why it has no effect. - line 184: //codecContext.sample_fmt(AV_SAMPLE_FMT_S16) //TODO: Figure out why it has no effect. - line 187: //parserContext.format(AV_SAMPLE_FMT_S16) //TODO: Figure out why it has no effect. android/testData/snapshots/projects/includeFromLib/lib/src/main/java/com/example/lib/PageThreeFragment.java (3 lines): - line 18: // TODO: Rename parameter arguments, choose names that match - line 23: // TODO: Rename and change types of parameters - line 39: // TODO: Rename and change types and number of parameters project-system-gradle/testSrc/com/android/tools/idea/gradle/project/build/output/AndroidGradlePluginOutputParserTest.kt (3 lines): - line 21: //TODO this test seem to be about vary old way og AGP producing messages. Double-check and add comment. - line 45: //TODO why javac parser does not get it? - line 115: //TODO why javac parser does not get it? designer/src/com/android/tools/idea/uibuilder/handlers/constraint/ConstraintComponentUtilities.java (3 lines): - line 772: // TODO: Move uses to a more common place for deletion. - line 1458: // TODO: add support for RTL in Scout - line 1474: // TODO handle isMarginReference = true; designer/src/com/android/tools/idea/uibuilder/property/support/HelpActions.kt (2 lines): - line 128: // TODO: This should not be required, but it is for as long as getNamespaceResolver returns - line 142: // TODO: b/121033944 Give access to links and format code sections as well. android/jetbrains/testSrc/org/jetbrains/android/dom/attrs/AttributeDefinitionsTest.java (2 lines): - line 119: // TODO: Remove this test when the AttributeDefinitions.getStyleableByName method is removed. - line 128: // TODO: Remove this test when the AttributeDefinitions.getAttrDefByName method is removed. android-templates/resources/liveTemplates/AndroidComments.xml (2 lines): - line 25: