scala/scala-impl/src/org/jetbrains/plugins/scala/statistics/ScalaActionUsagesCollector.scala (18 lines):
- line 19: private val Group = new EventLogGroup("scala.actions", 2): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 21: private val TypeInfoEvent = Group.registerEvent("type.info"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 22: private val XRayModeEvent = Group.registerEvent("x-ray.mode", new LongEventField("duration")): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 23: private val ShowImplicitParametersEvent = Group.registerEvent("show.implicit.parameters"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 24: private val GoToImplicitConversionEvent = Group.registerEvent("go.to.implicit.conversion"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 25: private val StructureViewEvent = Group.registerEvent("structure.view"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 26: private val OptimizeImportsEvent = Group.registerEvent("optimize.imports"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 27: private val CreateFromUsageEvent = Group.registerEvent("createFromUsage"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 28: private val OverrideImplementEvent = Group.registerEvent("overrideImplement"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 29: private val DesugarCodeEvent = Group.registerEvent("desugar.code"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 30: private val RearrangeEvent = Group.registerEvent("rearrange"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 31: private val ConvertFromJavaEvent = Group.registerEvent("convert.javatext"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 32: private val RunWorksheetEvent = Group.registerEvent("worksheet"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 34: private val ScFileModeSetWorksheetEvent = Group.registerEvent("sc.file.set.worksheet"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 35: private val ScFileModeSetAmmoniteEvent = Group.registerEvent("sc.file.set.ammonite"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 36: private val ScFileModeSetAutoEvent = Group.registerEvent("sc.file.set.auto"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 38: private val IncrementalityTypeSetSbtEvent = Group.registerEvent("compiler.inc.type.set.sbt"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 39: private val IncrementalityTypeSetIdeaEvent = Group.registerEvent("compiler.inc.type.set.idea"): @nowarn("cat=deprecation") // TODO: SCL-24479
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/ScalaElementVisitor.scala (16 lines):
- line 60: // TODO visitDeclaration
- line 80: // TODO visitDeclaration
- line 102: // TODO visitDeclaration
- line 103: // TODO visitValueOrVariable
- line 106: // TODO visitDeclaration
- line 107: // TODO visitValueOrVariable
- line 109: // TODO visitValueOrVariable
- line 111: // TODO visitValueOrVariable
- line 134: // TODO visitReference
- line 135: // TODO visitExpression
- line 137: // TODO visitMethodInvocation
- line 139: // TODO visitMethodInvocation
- line 144: // TODO visitMethodInvocation
- line 147: // TODO visitMethodInvocation
- line 174: // TODO visitReference
- line 208: // TODO visitScalaElement
scala/scala-impl/src/org/jetbrains/plugins/scala/project/package.scala (14 lines):
- line 231: // TODO Generalize: hasScala(Version => Boolean), hasScala(_ >= Scala3)
- line 505: // TODO Generalize: hasScala(Version => Boolean), hasScala(_ >= Scala3)
- line 525: //TODO: currently this is an extension method on a project
- line 530: //TODO: in platform print a warning when code style is used on the in-memory, synthetic file OR alternative conditions - when it's outside source roots with editor config
- line 565: // TODO: SCL-18097: it should be per-module, like for all other compiler flags (e.g. for isSAMEnabled)
- line 617: // TODO May also be a library file (source or compiled), SCL-20935
- line 620: /** TODO: document, maybe even rename to something better, like "actual module", "effective module" */
- line 674: // TODO: this is a dirty hack to suppress skipping features check in unit tests
- line 680: // TODO The same as ScalaFeatures (Scala versions, isSource3Enabled vs hasSource3Flag, etc.), SCL-20935
- line 686: // TODO Used as isInScala3File, but library files have no module, SCL-20935
- line 687: // TODO Library source files are not compiled, SCL-20935
- line 810: // TODO Determine Scala version of libraries without using module, SCL-20935
- line 824: // TODO Predicates are not applicable to library files, because they have neither module nor project, SCL-20935
- line 825: // TODO Library source files are not compiled, SCL-20935
scala/scala-impl/src/org/jetbrains/plugins/scala/statistics/ScalaRefactoringUsagesCollector.scala (13 lines):
- line 16: private val Group = new EventLogGroup("scala.refactoring", 1): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 18: private val RenameLocalEvent = Group.registerEvent("rename.local"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 19: private val RenameMemberEvent = Group.registerEvent("rename.member"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 20: private val MoveFileEvent = Group.registerEvent("move.file"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 21: private val MoveClassEvent = Group.registerEvent("move.class"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 22: private val IntroduceVariableEvent = Group.registerEvent("introduce.variable"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 23: private val IntroduceTypeAliasEvent = Group.registerEvent("introduce.type.alias"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 24: private val IntroduceFieldEvent = Group.registerEvent("introduce.field"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 25: private val IntroduceParameterEvent = Group.registerEvent("introduce.parameter"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 26: private val ExtractMethodEvent = Group.registerEvent("extract.method"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 27: private val ExtractTraitEvent = Group.registerEvent("extract.trait"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 28: private val InlineEvent = Group.registerEvent("inline"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 29: private val ChangeSignatureEvent = Group.registerEvent("change.signature"): @nowarn("cat=deprecation") // TODO: SCL-24479
sbt/sbt-impl/src/org/jetbrains/sbt/project/SbtProjectResolver.scala (12 lines):
- line 153: new FailureResult(startTime, endTime, Collections.emptyList[ESFailure]) // TODO error list
- line 196: else Duration.Inf // TODO some kind of timeout / cancel mechanism
- line 213: // TODO add error/warning messages during dump, report directly
- line 353: // TODO add default scala sdk and sbt libs (newest versions or so)
- line 585: // TODO put some of this logic elsewhere in resolving process?
- line 792: basePackage = basePackages.headOption, // TODO Rename basePackages to basePackage in sbt-ide-settings?
- line 806: // TODO use options for description, value and handle them in the UI appropriately
- line 862: // TODO use both ID and Name when related flaws in the External System will be fixed
- line 863: // TODO explicit canonical path is needed until IDEA-126011 is fixed
- line 931: // TODO use both ID and Name when related flaws in the External System will be fixed
- line 932: // TODO explicit canonical path is needed until IDEA-126011 is fixed
- line 1201: // TODO explicit canonical path is needed until IDEA-126011 is fixed
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/processors/ScalaSpacingProcessor.scala (10 lines):
- line 46: // TODO: setup SCoverage for scala plugin, run tests and see
- line 49: // TODO: uncomment suppressing of ScalaDeprecation
- line 58: // TODO: minimize getText usages
- line 218: // TODO: it's not good for performance to extract entire file text on each reformat
- line 667: //TODO (minor) we ask `isInScala3File` for every block, which is not optimal (it requires tree traversal to parent every time)
- line 839: // TODO: do we need separate settings for : block syntax
- line 923: case (_: ScEnumCase, Class) => 0 // TODO: add a setting for enum cases
- line 972: // TODO: this behaviour was implemented long ago in 2008 but it doesn't work well
- line 1048: //FIXME: this is a quick hack to stop method signature in scalaDoc from getting disrupted. (#SCL-4280)
- line 1510: //TODO: duplicate?
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/ScalaDocQuickInfoGenerator.scala (10 lines):
- line 29: // TODO 1: analyze performance and whether rendered info is cached?
- line 30: // TODO 2: (!) quick info on the element itself should lead to "Show find usages" tooltip, no to quick info tooltip
- line 32: // TODO 3: add minimum required module/location, if class/method is in same scope, do not render module/location at all
- line 59: //TODO: not supported yet
- line 150: // TODO: for case classes Product is displayed but Serializable is not, UNIFY1
- line 178: // TODO: this is bad hack cause `with Object` can be displayed in many other places for trait, e.g. for method return type
- line 223: // TODO: should we remove [] from getLocationString (see renderClassHeader and unify)
- line 242: * TODO: improve SCL-17582
- line 299: // TODO: more cases... like constructor-pattern+case-class
- line 357: // TODO: add some header with location info if it's function function parameter (currently none generated at all)
sbt/sbt-impl/src/org/jetbrains/sbt/shell/SbtProjectTaskRunnerImpl.scala (9 lines):
- line 45: // TODO this includes tests (and what else?). sbt should handle it and test output should be parsed
- line 66: // TODO Android AARs are currently imported as modules. need a way to filter them away before building
- line 104: // TODO user feedback
- line 127: // TODO sensible way to find out what scopes to run it for besides compile and test?
- line 128: // TODO make tasks should be user-configurable
- line 158: // TODO: PerformInBackgroundOption is deprecated, ProgressManager.run(Task) is obsolete. See IJPL-384
- line 197: // TODO consider running module build tasks separately
- line 219: // TODO: Improve handling of canceled builds.
- line 234: // TODO: investigate whether the code below is still necessary when the build is canceled.
scala/scala-impl/src/org/jetbrains/plugins/scala/extensions/package.scala (8 lines):
- line 105: name != "getInstance" && // TODO others?
- line 511: // TODO Rely on ScalacPatches for multiline literals
- line 512: // TODO: rename to reflect that it's line separator
- line 516: // TODO: remove, and use stripTrailing() (available since JDK 11)
- line 762: // TODO Scala 2.13: use Iterator.unfold to extract prevElements and nextElements methods
- line 1475: //TODO: remove these shit implicit conversions?
- line 1709: case st: StubBasedPsiElementBase[_] => st.getStubOrPsiChildren(elementType, f): @nowarn("cat=deprecation") // TODO: SCL-23400
- line 1798: TODO: convert to a macro
bsp-builtin/bsp/src/org/jetbrains/bsp/project/BspTask.scala (8 lines):
- line 133: // TODO start/finish task for individual builds
- line 137: // TODO report all exceptions?
- line 162: // TODO report full error to log?
- line 175: // TODO report full error to log?
- line 223: // TODO handle message type (warning, error etc) in output
- line 224: // TODO use params.requestId to show tree structure
- line 228: // TODO build toolwindow log supports ansi colors, but not some other stuff
- line 249: // TODO use params.originId to show tree structure
scala/scala-impl/src/org/jetbrains/plugins/scala/statistics/ScalaProjectSettingsCollector.scala (7 lines):
- line 63: private val Group = new EventLogGroup("scala.project.settings", 1): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 67: private val SbtShellBuildEvent = Group.registerEvent("sbt.shell.build"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 68: private val SbtIdeaBuildEvent = Group.registerEvent("sbt.idea.build"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 70: private val CompilerIncTypeUsedSbtEvent = Group.registerEvent("compiler.inc.type.used.sbt"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 71: private val CompilerIncTypeUsedIdeaEvent = Group.registerEvent("compiler.inc.type.used.idea"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 72: private val CompilerCompileServerUsedEvent = Group.registerEvent("compiler.compile.server.used"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 73: private val ProjectViewHighlightingEvent = Group.registerEvent("project.view.highlighting"): @nowarn("cat=deprecation") // TODO: SCL-24479
scala/scala-impl/src/org/jetbrains/plugins/scala/statistics/ScalaAnnotatorUsagesCollector.scala (7 lines):
- line 16: private val Group = new EventLogGroup("scala.annotator", 1): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 18: private val TypeAwareEvent = Group.registerEvent("file.with.type.aware.annotated"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 19: private val NonTypeAwareEvent = Group.registerEvent("file.without.type.aware.annotated"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 20: private val StructuralTypeEvent = Group.registerEvent("structural.type"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 21: private val ExistentialTypeEvent = Group.registerEvent("existential.type"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 22: private val MacroDefinitionEvent = Group.registerEvent("macro.definition"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 23: private val CollectionTypeHighlightingEvent = Group.registerEvent("collection.pack.highlighting"): @nowarn("cat=deprecation") // TODO: SCL-24479
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/TypeDiff.scala (7 lines):
- line 19: // TODO Work in progress (it's not yet clear what's the best way to implement this functionality)
- line 20: // TODO First parse the trees and then compare them? (but how to balance placeholders?)
- line 63: // TODO refactor (decompose, unify, etc.)
- line 72: // TODO Comparison (now, it's just "parsing" for the type annotation hints)
- line 83: // TODO More flexible comparison, unify with the clause above
- line 87: // TODO Comparison (now, it's just "parsing" for the type annotation hints)
- line 192: // TODO Move to ParameterizedType.scala / FunctionType.scala?
sbt/sbt-impl/src/org/jetbrains/sbt/shell/communication.scala (6 lines):
- line 32: // TODO: this class has become too complicated, too much random state updates.
- line 52: //TODO: rename to commandsQueue
- line 104: // TODO it's some imperfection at this place to address in SCL-24338
- line 245: // TODO exception handling
- line 419: //TODO: it seems like in practice "process terminated" is not used at all
- line 628: // and then again when the shell becomes ready. TODO add "Start" shell state to get rid of this
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/server/RemoteServerConnector.scala (6 lines):
- line 30: // TODO: split to REPL and PLAIN args, change serialization format
- line 31: // TODO: clean up this shit with arguments, half in constructor, half in method call
- line 98: // TODO: make something more advanced than just `callback: Runnable`: error reporting, Future, Task, etc...
- line 99: // TODO: add logging across all these callbacks in RunWorksheetAction, WorksheetCompiler, RemoteServerConnector...
- line 102: originalFile: VirtualFile, // TODO: looks like no need in this parameter
- line 172: // TODO: Explore a more elegant solution to this problem.
scala/scala-impl/src/org/jetbrains/plugins/scala/highlighter/ScalaSyntaxHighlighter.scala (6 lines):
- line 22: // TODO something is wrong with the highlighter, see comment in SCL-18701
- line 24: * TODO: Extract scaladoc highlighter completely,
- line 149: // TODO: headers are excluded cause:
- line 390: super.start(buffer, startOffset, endOffset, initialState) // TODO is it correct???
- line 392: // TODO State class
- line 605: // TODO: for some reason XmlTokenType.XML_REAL_WHITE_SPACE "leaks" here,
scala/scala-impl/src/org/jetbrains/plugins/scala/statistics/ScalaDebuggerUsagesCollector.scala (6 lines):
- line 16: private val Group = new EventLogGroup("scala.debugger", 1): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 18: private val DebuggerEvent = Group.registerEvent("debugger"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 19: private val EvaluatorEvent = Group.registerEvent("evaluator"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 20: private val CompilingEvaluatorEvent = Group.registerEvent("compiling.evaluator"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 21: private val LambdaBreakpointEvent = Group.registerEvent("lambda.breakpoint"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 22: private val SmartStepIntoEvent = Group.registerEvent("smart.step.into"): @nowarn("cat=deprecation") // TODO: SCL-24479
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/actions/internal/compilertrees/ShowScalaCompilerTreeAction.scala (6 lines):
- line 26: //TODO: (big feature) don't ignore last bytecode generation phase, show decompiled classes (1. bytecode and 2. as Java)
- line 27: //TODO: (big feature) add UI for extra Scala 3 options `-Xprint-*`
- line 28: //TODO: (big feature) Scala 3 has option to print tasty, we can add it as well
- line 29: //TODO: (big improvement) implement folding (check how it's done for "Show Decompiled Code" action, if it even works for it)
- line 30: //TODO: show notifications on all steps (no file, no virtual file, no module, etc...)
- line 31: //TODO: if not trees are parsed, show some notification (when there are still no errors)
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/EmptyCheckInspection.scala (6 lines):
- line 18: // TODO infix notation?
- line 27: // TODO infix notation?
- line 40: // TODO infix notation?
- line 56: // TODO infix notation?
- line 64: // TODO infix notation?
- line 93: // TODO infix notation?
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/ammonite/ImportAmmoniteDependenciesFix.scala (5 lines):
- line 31: // TODO: update versions
- line 128: // TODO: we should improve this filtering,
- line 140: // TODO: this is a bad solution:
- line 185: // TODO: use something more user-friendly error handling
- line 204: // TODO: why "versionS"?
bsp-builtin/bsp/src/org/jetbrains/bsp/project/importing/BspResolverLogic.scala (5 lines):
- line 60: scaladocExtraClasspath = Seq.empty, // FIXME pass in actual data when obtainable from BSP: https://github.com/build-server-protocol/build-server-protocol/issues/229
- line 107: val direct = start.getDependencies.asScala.flatMap(idToTarget.get) // TODO warning when dependencies are not in buildTargets
- line 228: // TODO merge source dirs with mixed generated flag?
- line 710: // TODO: The flat map below is cursed! It's too huge and imposible to follow. Refactor it!
- line 1111: // FIXME set jdk from home or version
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/processor/WorksheetDefaultSourcePreprocessor.scala (5 lines):
- line 375: // TODO: fix for var a, b = 7 SCL-13307
- line 384: // TODO: fix for Scala 3 (SCL-21494)
- line 485: // TODO: looks like this resN are not used anywhere and can be dropped (just print the value, except Unit type)
- line 592: // TODO: do we need that import instanceName at all?
- line 597: // TODO: do not display for resN: Unit, e.g. after println(42), () (not only display but do not create a resN for them)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/lexer/core/_ScalaCoreLexer.flex (5 lines):
- line 171: // TODO: remove this chech, this should always be false, cause $$ is handled by INTERPOLATED_STRING_ESCAPE pattern earlier
- line 274: CHARACTER_LITERAL = "'"([^\\\'\r\n]|{ESCAPE_SEQUENCE}|{OCTAL_ESCAPE_LITERAL})("'"|\\) | \'\\u000A\' | "'''" // TODO: \'\\u000A\' is redundunt, remove
- line 290: // TODO: rename, it's missleading
- line 349: // TODO: remove this check: looks like it's a dead code,
- line 486: // TODO: incomplete strings should be handled the same way with interpolated strings
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScReferenceAnnotator.scala (5 lines):
- line 39: // TODO unify with ScMethodInvocationAnnotator and ScConstructorInvocationAnnotator
- line 58: !precursor.is[ScUnderscoreSection] && // TODO Highlight underscore rather than remainder, SCL-22148
- line 59: !precursor.asOptionOf[ScReferenceExpression].exists(_.resolve() != null) && // TODO Highlight expressions of non-inferred type? SCL-22150
- line 76: case _: ScDocResolvableCodeReference => // TODO Uniform, fine-grained highlighting, SCL-22154
- line 347: createFixesByUsages(reference) // TODO We can now use UnresolvedReferenceFixProvider to decoupte custom fixes from the annotator
scala/compiler-integration-server-management/src/org/jetbrains/plugins/scala/compiler/CompileServerLauncher.scala (5 lines):
- line 105: // TODO: track that we attach debug agent and show notification, as with JPS Build Process
- line 106: // TODO: add internal action "Debug Scala Compile Server" as with JPS "Debug Build Process"
- line 124: // TODO: make project "Option"
- line 294: // TODO stop server more gracefully
- line 551: // TODO: make it thread safe, call from a single thread OR use some locking mechanism
scala/scala-impl/src/org/jetbrains/plugins/scala/statistics/ScalaProjectStateCollector.scala (5 lines):
- line 69: private final val Group = new EventLogGroup("scala.project.state", 1): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 76: * TODO: remove it in ~ 2025.3, once there are 3 full releases that use `SbtSettingsCollector`
- line 80: ): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 86: ): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 91: ): @nowarn("cat=deprecation") // TODO: SCL-24479
sbt/sbt-impl/src/org/jetbrains/sbt/project/modifier/SimpleBuildFileModifier.scala (5 lines):
- line 21: * TODO: try to detect latest library version and use it instead of "latest.integration"
- line 22: * TODO: insert changes directly in module definition instead of just appending it to the `build.sbt` file
- line 48: //TODO: rewrite this? (the original comment is dated 2015)
- line 61: //TODO: we must not use IntelliJ module name here
- line 153: //TODO: this 'saveText' seems extremely weird here
scala/conversion/src/org/jetbrains/plugins/scala/conversion/JavaToScala.scala (5 lines):
- line 366: //TODO support Java pattern matching truly, see SCL-21510
- line 373: //TODO support Java pattern matching truly, see SCL-21510
- line 671: // TODO: eliminate amount of call
- line 807: node.comments.beforeComments.append(LiteralExpression("//TODO: 'static' modifier is not supported\n"))
- line 1193: //TODO: finish with tests SCL-21949
scala/worksheet-repl-interface/impls/impl_3_8/src/org/jetbrains/jps/incremental/scala/local/worksheet/repl_interface/ILoopWrapper38Impl.scala (5 lines):
- line 13: wrapperReporter: ILoopWrapperReporter, // TODO: use when ReplDriver accepts reporter
- line 50: driver.resetToInitial(Nil) // TODO: should we pass any settings here?
- line 51: //TODO: ReplDriver has private field `shouldStart` which can set to false if repl driver can't be started
- line 58: // TODO: should we cleanup something and how?
- line 63: true // TODO: get the result from the driver when it implements this
scala/integration/maven/src/org/jetbrains/plugins/scala/project/maven/ScalaMavenImporter.scala (5 lines):
- line 82: // TODO configuration.vmOptions
- line 187: val artifactResolveResult = embedder.resolveArtifactTransitively(artifacts, repositories): @nowarn("cat=deprecation") // TODO: deprecated to be replaced with a suspend fun. See IDEA-340501
- line 189: // TODO: ideally test scope dependencies shouldn't be downloaded at all (see IDEA-270126)
- line 196: // TODO even the maintainer is not sure if it should be supported https://github.com/davidB/scala-maven-plugin/discussions/803
- line 249: // TODO create a more accurate solution to this problem
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScTemplateDefinitionAnnotator.scala (5 lines):
- line 232: // TODO package private
- line 347: // TODO package private
- line 431: // TODO package private
- line 448: // TODO test
- line 475: // TODO package private
sbt/sbt-impl/src/org/jetbrains/sbt/shell/SbtShellRunner.scala (5 lines):
- line 36: // TODO: why is this lazy val? acquireShellProcessHandler can create a new process handler process data with
- line 45: // TODO: why is ignored? rethink API
- line 83: // TODO: remove this branch after a fix in the platform.
- line 118: // TODO update icon with ready/working state
- line 153: // the exec action needs to be created here so it is registered. TODO refactor so we don't need this
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/resolve/ScalaResolveResult.scala (5 lines):
- line 63: val notCheckedResolveResult: Boolean = false, //TODO: does not seem to be used anywhere
- line 134: // TODO Seems to be unreliable, so it's better to check whether ImplicitCollector.probableArgumentsFor(it).size > 1
- line 148: resultUndef: Option[ConstraintSystem] = None, //@TODO: why not just add constraints to subst?
- line 305: //TODO: unify this branch can be unified with `getClazzPrecedence` in 2022.3
- line 342: // TODO this conflates imported functions and imported implicit views. ScalaResolveResult should really store
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/scaladoc/lexer/ScalaDocTokenType.java (5 lines):
- line 7: // TODO: rename to ScalaDocTokenTypes (with S in the end)
- line 26: IElementType DOC_INNER_CODE_TAG = new ScalaDocElementType("DOC_INNER_CODE_TAG"); // TODO: rename to DOC_INNER_CODE_START
- line 29: IElementType DOC_INNER_CLOSE_CODE_TAG = new ScalaDocElementType("DOC_INNER_CLOSE_CODE_TAG"); // TODO: rename to DOC_INNER_CLOSE_END
- line 49: ScalaDocSyntaxElementType DOC_LINK_CLOSE_TAG = new ScalaDocSyntaxElementType("DOC_LINK_CLOSE_TAG", 0); // TODO: rename to DOC_LINK_END
- line 50: // TODO: something is wrong with header parsing.
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScExpressionAnnotator.scala (5 lines):
- line 39: // TODO Annotating ScUnderscoreSection is technically correct, but reveals previously hidden red code in ScalacTestdataHighlightingTest.tuples_1.scala
- line 40: // TODO see visitUnderscoreExpression in ScalaAnnotator
- line 90: // TODO Can `type` do this automatically?
- line 152: // TODO rename (it's not about size, but about inner / outer expressions)
- line 233: // TODO fine-grained ranges
scala/worksheet-repl-interface/impls/impl_3_3_0/src/org/jetbrains/jps/incremental/scala/local/worksheet/repl_interface/ILoopWrapper330Impl.scala (5 lines):
- line 15: wrapperReporter: ILoopWrapperReporter, // TODO: use when ReplDriver accepts reporter
- line 52: driver.resetToInitial(Nil) // TODO: should we pass any settings here?
- line 53: //TODO: ReplDriver has private field `shouldStart` which can set to false if repl driver can't be started
- line 60: // TODO: should we cleanup something and how?
- line 65: true // TODO: get the result from the driver when it implements this
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/createFromUsage/CreateEntityQuickFix.scala (4 lines):
- line 31: // TODO add private modifiers for unqualified entities ?
- line 32: // TODO use Java CFU when needed
- line 33: // TODO find better place for fields, create methods after
- line 113: // TODO: SCL-20799
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ApplicabilityProblem.scala (4 lines):
- line 18: //TODO , parameter
- line 21: //TODO , parameter
- line 30: //TODO expectedType -> parameter
- line 43: // TODO AmbiguousOverloading(results: Seq[ScalaResolveResult]) extends ApplicabilityProblem ?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/statements/ScFunctionImpl.scala (4 lines):
- line 109: * TODO: what is the problem with doing processParameters unconditionally?
- line 133: // TODO unify with ScValue and ScVariable
- line 302: // TODO Should be unified, see ScModifierListOwner
- line 338: override def findSuperMethods: Array[PsiMethod] = superMethods.toArray // TODO which other xxxSuperMethods can/should be implemented?
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/HtmlPsiUtils.scala (4 lines):
- line 24: //TODO: unify with org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocContentGenerator.hyperLinkToPsi
- line 33: //TODO: unify with org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocContentGenerator.hyperLinkToPsi
- line 60: // TODO: Re-implement after implementing soft keywords in ScalaDoc popups
- line 70: //TODO: defLinkHighlight is a misleading name! rename it
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/HeadOrLastOptionInspection.scala (4 lines):
- line 19: // TODO infix notation?
- line 41: // TODO infix notation?
- line 63: // TODO infix notation?
- line 75: // TODO infix notation?
scala/worksheet-repl-interface/impls/impl_3_1_2/src/org/jetbrains/jps/incremental/scala/local/worksheet/repl_interface/ILoopWrapper312Impl.scala (4 lines):
- line 15: wrapperReporter: ILoopWrapperReporter, // TODO: use when ReplDriver accepts reporter
- line 52: driver.resetToInitial(Nil) // TODO: should we pass any settings here?
- line 58: // TODO: should we cleanup something and how?
- line 63: true // TODO: get the result from the driver when it implements this
bsp-builtin/bsp/src/org/jetbrains/bsp/project/importing/experimental/GenerateBspConfig.scala (4 lines):
- line 38: return //TODO handle?
- line 101: //TODO: currently this handles only two cases: sbt and sbt + bloop
- line 102: //TODO: make it cancellable for both: SBT and Bloop
- line 103: //TODO: it duplicates some code with BspProjectResolver.installBSPs
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScForAnnotator.scala (4 lines):
- line 88: // TODO decouple
- line 109: // TODO decouple
- line 116: // TODO decouple
- line 125: // TODO decouple
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/SortedMaxMinInspection.scala (4 lines):
- line 17: // TODO infix notation?
- line 28: // TODO infix notation?
- line 39: // TODO infix notation?
- line 50: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/ElementRenderer.scala (4 lines):
- line 57: val annotations = rangeToKey.filter(_._1.contains(e.getTextRange)).map(_._2) // TODO Optimize
- line 76: val text = e.getText.replaceAll("\"", """).replaceAll("<", "<").replaceAll("(?", ">") // TODO Escape => as well
- line 78: if (e.getNode.getElementType == ScalaTokenTypes.tIDENTIFIER && e.getParent.is[ScParameter]) text else { // TODO Highlight parameters
- line 83: if (a.getForegroundColor == null && a.getFontType == Font.PLAIN && !link.startsWith("
- line 425:
- line 652:
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/transformation/Transformer.scala (4 lines):
- line 19: // TODO return updated element instead of Boolean to enable fine-grained recursion
- line 40: // TODO rely on a single set of transformers, use different means of ordering transformer applications
- line 73: // TODO use in debugger's "evaluate expression" to simpify its code and to support many language features automatically (e.g. string interpolation)
- line 74: // TODO support fine-grained recursion with dependencies
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/findUsages/ScalaUsageTypeProvider.scala (4 lines):
- line 39: // TODO more of these, including Scala specific: case class/object, pattern match, type ascription, ...
- line 64: //TODO: Only run this logic for references or leaf elements?
- line 157: //TODO: handle @targetName in Scala 3?
- line 220: //TODO: handle Scala 3 universal apply syntax
scala/scala-impl/src/org/jetbrains/plugins/scala/statistics/SbtShellCommandsUsagesCollector.scala (4 lines):
- line 28: private val Group = new EventLogGroup("scala.sbt", 1): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 30: private val ShellCommandEvent = Group.registerEvent("shell.execute.command"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 31: private val ShellTestCommandEvent = Group.registerEvent("shell.test.command"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 32: private val ShellTestRunCommandEvent = Group.registerEvent("shell.test.run.command"): @nowarn("cat=deprecation") // TODO: SCL-24479
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/packageNameInspection/ScalaPackageNameInspection.scala (4 lines):
- line 23: // TODO Handle content and source roots that are files rather than directories
- line 24: // TODO Handle nested content and source roots
- line 57: // TODO Reuse sourceFolder to compute a relative path
- line 133: // TODO There's no need to iterate over source roots of other modules
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/lexer/ScalaTokenTypes.java (4 lines):
- line 60: // TODO: add a space between `interpolated` and `multiline` in debug name
- line 65: // TODO: rename it, it represents "$$" (dollar escape) "interpolated string escape" is misleading
- line 158: // TODO: remove tFUNTYPE_ASCII from everywhere, it's not actually used in lexer or parser
- line 268: // tWRONG_LINE_BREAK_IN_STRING // TODO: should we add it here?
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScConstructorInvocationAnnotator.scala (4 lines):
- line 23: // TODO unify with ScMethodInvocationAnnotator and ScReferenceAnnotator
- line 37: // TODO duplication with application annotator.
- line 69: } yield resolveResult.copy(isAccessible = accessible) // TODO Resolve should return matching inaccessible constructors, SCL-22156
- line 118: // TODO decouple
scala/scala-impl/src/org/jetbrains/plugins/scala/project/template/package.scala (4 lines):
- line 18: // TODO: SCL-23312
- line 28: // TODO: SCL-23312
- line 38: // TODO: SCL-23312
- line 54: * TODO: Remove the label patching when the External System will use the concise and proper labels natively
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/charts/ui/DiagramsComponent.scala (4 lines):
- line 38: // TODO Use a Timer to postpone the tooltip calculation
- line 53: // TODO Use more effective search?
- line 60: // TODO Show duration, number of files, etc. (maybe also labels)
- line 61: // TODO Implement navigation to file / module
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/ui/printers/WorksheetEditorPrinterPlain.scala (3 lines):
- line 85: // TODO BULK_COUNT is unused
- line 196: // TODO: there can be a lot of worksheet output, make these checks mor efficient to lower GC usage
- line 289: // TODO: unify with REPL printer, reuse concepts
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/ScImportsHolder.scala (3 lines):
- line 552: val place: PsiElement = null // TODO: what is this parameter for? Add docs to the usage place
- line 690: //TODO: do not use `apply` name here
- line 740: // TODO: this is a dummy implementation copied from ScImportsHolder
scala/compiler-shared/src/org/jetbrains/jps/incremental/scala/Client.scala (3 lines):
- line 11: * TODO: add documentation with method contracts, currently there are too many methods with vague meaning
- line 49: // TODO: extract to bundle carefully, DynamicBundle isn't available in JSP process
- line 55: // TODO: support lazy message calculating: if debug/trace log level are not enabled, do not pass the messages
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/enterHandler/MultilineStringEnterHandler.scala (3 lines):
- line 21: // TODO: add Scala prefix for all handlers for easy debug
- line 76: document.commit(project) // TODO: AVOID COMMITTING DOCUMENTS ON TYPING!
- line 197: document.commit(project) // TODO: AVOID COMMITTING DOCUMENTS ON TYPING!
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/nonvalue/ScMethodType.scala (3 lines):
- line 15: // TODO: we should also be able to express the absence of parameter clauses in method
- line 32: //@TODO: infer ContextFunction when isImplicit and isInScala3File are true?
- line 65: // TODO Actually infer method types
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/implicits/ImplicitCollector.scala (3 lines):
- line 91: //@TODO: inspect usages outside of ImplicitCollector and adapt to visibleImplicitsByLevel if needed.
- line 267: //@TODO: should this branch also uses visibleNamesCandidatesByLevel?
- line 517: //@TODO: apply context function to implicit args if type of `c` does not conform
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/AnnotatorUtils.scala (3 lines):
- line 23: // TODO move to org.jetbrains.plugins.scala.lang.psi.annotator
- line 119: //TODO show parameter name
- line 146: // TODO encapsulate
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/ScalaPsiElementFactory.scala (3 lines):
- line 578: //TODO: add docs, what is `child` ???
- line 1327: _.`type`().getOrAny // FIXME this should probably be a None instead of Some(Any)
- line 1353: // TODO method should be eliminated eventually
scala/scala-impl/src/org/jetbrains/plugins/scala/statistics/SbtSettingsCollector.scala (3 lines):
- line 19: //TODO: move it to sbt module or some "FUS" module
- line 90: private val Group = new EventLogGroup("build.sbt.state", 1): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 115: ): @nowarn("cat=deprecation") // TODO: SCL-24479
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/ScalaPsiPresentationUtils.scala (3 lines):
- line 9: // TODO 2: unify with org.jetbrains.plugins.scala.lang.psi.PresentationUtil
- line 10: // TODO 4: unify with org.jetbrains.plugins.scala.lang.psi.ScalaPsiUtil
- line 11: // TODO 5: unify with com.intellij.psi.util.PsiFormatUtil
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/folding/ScalaFoldingBuilder.scala (3 lines):
- line 35: // TODO: do not use ASTNode.getText or PsiElement.getText
- line 36: // TODO: extract shared string literals, like "{...}"
- line 196: // TODO: maybe extract some proper base method should be extracted to ScDefinitionWithAssignment?
scala/scala-impl/src/org/jetbrains/plugins/scala/caches/CacheInUserData.scala (3 lines):
- line 7: // TODO cacheInUserData0[R] == cacheInUserDataN[Unit, R]
- line 13: val holder = CachesUtil.getOrCreateCachedRef[E, R](dataHolder, key, id, name, () => dependency) // TODO (psiElement)
- line 48: val holder = CachesUtil.getOrCreateCachedMap[E, T, R](dataHolder, key, id, name, () => dependency) // TODO (psiElement)
scala/scala-impl/src/org/jetbrains/plugins/scala/highlighter/DefaultHighlighter.java (3 lines):
- line 32: // TODO: can we inline all these ids?
- line 161: //TODO: rename ANONIMOUS -> ANONYMOUS
- line 171: // TODO Inherit Java's arrow attributes when Java will support them
scala/integration/intellilang/src/org/jetbrains/plugins/scala/intelliLang/injection/ScalaLanguageInjector.scala (3 lines):
- line 41: // TODO: rethink, add caching
- line 66: //TODO: make this check earlier? when exactly? should we support explicit injection via intention or comment?
- line 247: // FIXME: looks like this does not work for now, see SCL-15463
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/compiled/ScClassFileDecompiler.scala (3 lines):
- line 68: //TODO: the `isTopLevelScalaClass` check seems to be causing SCL-24273
- line 115: //TODO: see comments inside, it seems like this logic is not relevant.
- line 135: // TODO: this check seems to be incorrect
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/ui/printers/WorksheetEditorPrinterRepl.scala (3 lines):
- line 68: // FIXME: now all return boolean values are not processed anywhere and do not mean anything, remove or handle
- line 69: // FIXME: handle exceptions in process line
- line 70: // TODO: better to abstract away from "line string" to some kind of message / event, wrap the line
sbt/sbt-impl/src/org/jetbrains/sbt/shell/SbtProcessManager.scala (3 lines):
- line 82: // TODO add configurable plugins somewhere for users and via API; factor this stuff out
- line 585: // processData.processHandler.getProcess.isAlive // TODO: I am not sure which is the best
- line 677: //TODO #SCL-22878 "-Djdk.console=java.base" is needed due to modifications made to the System.console() after JDK 21,
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/Context.scala (3 lines):
- line 25: * TODO [[https://youtrack.jetbrains.com/issue/SCL-23892/Unify-context-parameters]]
- line 67: * TODO Use dedicated Transparent and Opaque contexts for opaque type aliases in the future
- line 86: * TODO Remove the default argument in the future
sbt/sbt-impl/src/org/jetbrains/sbt/shell/SbtShellConsoleView.scala (3 lines):
- line 36: //TODO: make it use the same shortcut as in Terminal (Cmd + K)
- line 37: // TODO: same for Scala REPL
- line 96: // TODO: remove this branch after a fix in the platform.
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/ui/printers/WorksheetEditorPrinterFactory.scala (3 lines):
- line 37: val BULK_COUNT = 15 // TODO: add a setting
- line 99: //TODO: do this matching early, maybe even extract separate private method which would accept EditorImpl
- line 179: // TODO: now we cache it only for unit tests but maybe we should also cache it like in getIncrementalUiFor
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/RemoteServerRunner.scala (3 lines):
- line 28: // TODO: make it cancelable, if request is hanging we cant cancel it now.
- line 30: // TODO: naming is a bit scaring, it suggests that it returns some new OS Process which connects to the server
- line 78: // TODO: SCL-17265 do not stop the whole server!
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/resolve/processor/MostSpecificUtil.scala (3 lines):
- line 279: //@TODO: similarly to the case above this should probably take implicit conversions into account
- line 347: //@TODO: parameterClausesWithExtension.flatMap(_.effectiveParameters)?
- line 443: dropExtensionClauses = true, //@TODO: should probably be srr.isExtensionCall
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/settings/ScalaCodeStyleSettings.java (3 lines):
- line 221: // TODO: not all ScalaDoc settings are ignored if this setting is disabled
- line 363: // TODO For some reason, SkipDefaultValuesSerializationFilters uses reflection to instantiate the class and needs an empty constructor.
- line 485: //TODO: if decide to i18 be careful to separate view value from persisted value
sbt/sbt-impl/src/org/jetbrains/sbt/language/completion/SbtMavenPackageSearchDependencyCompletionContributor.scala (3 lines):
- line 172: // TODO: SCL-23246 Reimplement using new maven search api.
- line 182: // TODO: SCL-23246 Reimplement using new maven search api.
- line 240: // TODO: SCL-23246 Reimplement using new maven search api.
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/MacroFinder.scala (3 lines):
- line 14: * TODO: write a test for std lib like org.jetbrains.plugins.scala.projectHighlighting.ScalaLibraryHighlightingTest
- line 82: val macroFinder = MacroFinderDummy // TODO: for now we do not support recursive macros, only 1 level
- line 83: // TODO: ew
scala/scala-impl/src/org/jetbrains/plugins/scala/project/settings/ScalaCompilerConfiguration.scala (3 lines):
- line 22: //reportStatistic = true // TODO: will not be recorded due to state is Element
- line 117: // TODO if we only set the incrementalityType option element when `incrementalityType` value is different from SBT
- line 130: // TODO If `separateProdTestSources` is enabled by default, then this condition should changed to `separateProdTestSources` == `false`
scala/scala-impl/src/org/jetbrains/plugins/scala/settings/ScalaProjectSettings.java (3 lines):
- line 32: public class ScalaProjectSettings implements PersistentStateComponent { // TODO ScalaProjectSettings.State
- line 264: // TODO Refresh editors
- line 273: // TODO Refresh editors
scala/scala-impl/src/org/jetbrains/plugins/scala/statistics/ScalaJsUsagesCollector.scala (3 lines):
- line 16: private val Group = new EventLogGroup("scala.js", 1): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 18: private val DynamicResolveEvent = Group.registerEvent("dynamic.resolve"): @nowarn("cat=deprecation") // TODO: SCL-24479
- line 19: private val DynamicCompletionEvent = Group.registerEvent("dynamic.completion"): @nowarn("cat=deprecation") // TODO: SCL-24479
scala/compiler-jps/src/org/jetbrains/jps/incremental/scala/ScalaBuilder.scala (3 lines):
- line 23: // TODO: use a proper naming. Scala builder of what? Strings? Code? Psi trees?
- line 53: // TODO: ensure Scala Compile server is stopped in order it doesn't eventually
- line 90: // TODO: ensure Scala Compile server is stopped in order it doesn't eventually
scala/scala-impl/src/org/jetbrains/plugins/scala/patterns/ScalaElementPatternImpl.scala (3 lines):
- line 20: //TODO: support infix expressions
- line 48: //TODO: handle Scala 3 universal apply call
- line 101: //TODO: support infix expressions
scala/worksheet-repl-interface/impls/impl_3_0_0/src/org/jetbrains/jps/incremental/scala/local/worksheet/repl_interface/ILoopWrapper300Impl.scala (3 lines):
- line 15: wrapperReporter: ILoopWrapperReporter, // TODO: use when ReplDriver accepts reporter
- line 58: // TODO: should we cleanup something and how?
- line 63: true // TODO: get the result from the driver when it implements this
bsp-builtin/bsp/src/org/jetbrains/bsp/BspBuildLoopService.scala (3 lines):
- line 21: * TODO IDEA platform already supports a save-triggered build-in-background mode. Investigate if we can replace this service.
- line 96: // TODO only re-queue failed modules? requires information to be available in ProjectTaskResult
- line 109: // TODO should allow all bsp-compiled types, depending on build server compatibility
scala/scala-impl/resources/liveTemplates/scala.xml (3 lines):
- line 3: TODO: review macros expresisons, looks like most of them do not work now
- line 76:
- line 95:
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/transformation/package.scala (3 lines):
- line 31: // TODO create a separate unit test for this method
- line 73: // TODO define PsiMember.qualifiedName
- line 75: // TODO support complex types, how to handle aliases?
scala/scala-impl/src/org/jetbrains/plugins/scala/caches/package.scala (3 lines):
- line 11: // TODO Detect control flow exceptions
- line 53: // TODO Factory method instead of the ProjectUserDataHolder type class
- line 61: // TODO (defaultValue: => R) parameter list
sbt/sbt-impl/src/org/jetbrains/sbt/project/ExternalSourceRootResolution.scala (3 lines):
- line 716: // TODO return the message about omitted directories
- line 782: // TODO consider base/projects correspondence
- line 892: //TODO: move these private utility classes to to a companion object/utility object
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ScMatchType.scala (3 lines):
- line 116: //@TODO: smart caching of intermediate results?
- line 190: //TODO: indirect aliases to match types
- line 256: if (tparam.isCovariant) isProvablyDisjoint(l, r) /* && hasFieldOfType(cls, tparam) @TODO */
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/processor/WorksheetCompiler.scala (3 lines):
- line 43: // TODO 1: rename/refactor, the class has more responsibilities then to "Compile"
- line 44: // TODO 2: forbid plugin unloading if some worksheet is running using: DynamicPluginListener.checkUnloadPlugin
- line 296: final case class UnknownError(cause: Throwable) extends WorksheetCompilerError // TODO: maybe wrap result into Try instead?
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/implicits/ImplicitHintsPass.scala (3 lines):
- line 70: // TODO Use a dedicated pass when built-in "advanced" hint API will be available in IDEA, SCL-14502
- line 72: // TODO Use a dedicated pass when built-in "advanced" hint API will be available in IDEA, SCL-14502
- line 156: //@TODO: this is insufficient now, that we can have interleaved using clauses
scala/scala-impl/src/org/jetbrains/plugins/scala/util/SAMUtil.scala (3 lines):
- line 98: // TODO We should probably (optionally) adjust the .expectedType of corresponding element instead of adding the uitlity method
- line 112: // @TODO: ContextFunctions for method with implicit/using parameters
- line 120: if (cls.qualifiedName.startsWith("scala.ContextFunction")) None //@TODO: remove when implemented
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/ScalaIndentationSyntaxUtils.scala (3 lines):
- line 160: // TODO: it should be just ScBlockStatement, without ScCommentOwner:
- line 217: case ScWhile(_, Some(`element`)) => true // TODO: use just expression extractor (condition is ignored, but calculated redundantly)
- line 218: case ScFor(_, `element`) => true // TODO: use just body extractor (same reason)
scala/compiler-jps/src/org/jetbrains/jps/incremental/scala/model/impl/JpsSbtDependenciesEnumerationHandler.scala (2 lines):
- line 18: //TODO SCL-22835
- line 48: // TODO consider moving #isBuiltWithSeparateProdTestSources outside of the loop when #SCL-22991 is done
scala/compiler-jps/src/org/jetbrains/jps/incremental/scala/SbtBuilder.scala (2 lines):
- line 84: // TODO Mirror file deletion (either via the outputConsumer or a custom index)
- line 85: // TODO use AdditionalRootsProviderService?
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInsight/ScalaCodeInsightSettings.java (2 lines):
- line 43: // TODO Rename to "showMethodResultType" (setting format upgrade is required)
- line 45: // TODO Rename to "showMemberVariableType" (setting format upgrade is required)
scala/compile-server/src/org/jetbrains/jps/incremental/scala/local/worksheet/ILoopWrapperFactoryHandler.scala (2 lines):
- line 39: // TODO: improve caching, for now we can have only 1 instance with 1 version of scala
- line 94: //TODO: this is basically equivalent to `3.0.0 <= version < 3.1.2,
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/expressions/Literal.scala (2 lines):
- line 65: // TODO: is this dead branch? it's not triggered by tests
- line 82: //case `tWRONG_LINE_BREAK_IN_STRING` => TODO: it's currently not added in non-interpolated string literals (see TODOs in scala.flex)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/refactoring/util/ScalaRefactoringUtil.scala (2 lines):
- line 971: // TODO: for some reason "reason" text is not shown in the error tooltip, e.g. when extracting variable
- line 972: // TODO: separate "reason" UI localized representation (create some enum/ADT for the reason)
sbt/sbt-impl/src/org/jetbrains/sbt/project/SbtNotificationListener.scala (2 lines):
- line 9: // TODO Rely on the immediate UI interaction API when IDEA-123007 will be implemented
- line 12: // TODO this check must be performed in the External System itself (see SCL-7405)
sbt/sbt-impl/src/org/jetbrains/sbt/SbtRunAnythingProvider.scala (2 lines):
- line 19: //TODO: consider extending com.intellij.ide.actions.runAnything.activity.RunAnythingCommandLineProvider
- line 53: // TODO suggest command completions, but only for root project (assumption is that is where the shell is usually)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/settings/ScalaLanguageCodeStyleSettingsProvider.scala (2 lines):
- line 43: case SettingsType.LANGUAGE_SPECIFIC => GeneralCodeSample // TODO: looks like other setting types are not displayed for now
- line 127: // TODO: since in Scala 3 braces can be optional for both `for` and `yield` keyword,
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/charts/ui/DiagramPrinter.scala (2 lines):
- line 144: // TODO Use an additional palette for non-standard phases.
- line 154: // TODO Refine the palette.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/base/ScInterpolatedStringLiteralImpl.scala (2 lines):
- line 82: // FIXME: fails on s"aaa /* ${s"ccc s${s"/*"} ddd"} bbb" (SCL-17625, SCL-18706)
- line 117: //TODO: this is a fallback workaround for SCL-22507 and IJPL-149605
sbt/sbt-impl/src/org/jetbrains/sbt/project/structure/SbtStructureDump.scala (2 lines):
- line 408: // TODO: rewrite this code, do not use try, throw
- line 443: handler.setShouldDestroyProcessRecursively(false) // TODO: why not `true`?
scala/test-integration/testing-support/src/org/jetbrains/plugins/scala/testingSupport/locationProvider/ScalaTestLocationProvider.scala (2 lines):
- line 29: case ScalaProtocol => // TODO: do we even need this separation? why not using just scalatest://?
- line 103: // TODO: fix SCL-8859
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/transformation/calls/ExpandVarargArgument.scala (2 lines):
- line 11: // TODO Is this the level of "syntactic sugar"?
- line 13: // TODO improve array detection
scala/decompiler/src/org/jetbrains/plugins/scala/decompiler/scalasig/ScalaSigPrinter.scala (2 lines):
- line 479: case mt: FunctionType => // TODO Unnecessary if NullaryMethodType is FunctionType
- line 631: //TODO: this passing of 'level' look awful;
scala/scala-impl/src/org/jetbrains/plugins/scala/project/settings/ScalaCompilerSettingsProfile.scala (2 lines):
- line 10: // TODO This class is needed for the "imported" ScalaCompilerConfigurationPanel.
- line 11: // TODO It's better to replace it with immutable case classes later.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/toplevel/typedef/ScMember.scala (2 lines):
- line 103: // TODO is all of this mess still necessary?!
- line 159: // TODO Should be unified, see ScModifierListOwner
scala/scala-impl/src/org/jetbrains/plugins/scala/ScalaVersion.scala (2 lines):
- line 40: //TODO: it it's not consistent with naming of `minor`
- line 101: //TODO: drop 2.9, why would we even need it?
scala/uast/src/org/jetbrains/plugins/scala/uast/ScalaUastElementFactory.scala (2 lines):
- line 71: @Nullable // TODO: implement type params handling
- line 107: // TODO: if expectedReturnType != null then handle type params to match return type
scala/scala-impl/src/org/jetbrains/plugins/scala/externalLibraries/kindProjector/inspections/KindProjectorSimplifyTypeProjectionInspection.scala (2 lines):
- line 162: // TODO Use standard type lambda presentation (as without -Ykind-projector), SCL-23275
- line 195: // TODO use TypePresentation's innerTypeText & NameRenderer, SCL-23282
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/runconfiguration/WorksheetCache.scala (2 lines):
- line 24: //TODO: why this map value has collection type?
- line 35: // TODO: cleanup created files on application/project exit, do not pollute file system!
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/typedHandler/ScalaTypedHandler.scala (2 lines):
- line 62: // TODO: do not use function literal, use dedicated class with descriptive names
- line 73: // TODO: we can avoid allocations by comparing strings inplace, without substring
scala/scala-impl/src/org/jetbrains/plugins/scala/util/TypeAnnotationUtil.scala (2 lines):
- line 27: // TODO more refactoring needed
- line 71: // TODO It's better to avoid global variables
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/types/Type.scala (2 lines):
- line 20: // TODO: handle changes for later Dotty versions https://dotty.epfl.ch/docs/reference/changed-features/wildcards.html
- line 79: // TODO: looks like this is a dead code, no tests trigger breakpoint inside, leaving it just in case...
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/ScalaBlockChildAttributes.scala (2 lines):
- line 31: //TODO: enter here should indent caret:
- line 52: // TODO: in latest scalafmt versions there are a lot of new more-precise indent values.
scala/scala-api/src/LanguageFileTypeBase.scala (2 lines):
- line 17: // TODO Temporary fix for Upsource
- line 21: // TODO maybe remove this method.
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInsight/intention/matcher/ExpandPatternIntention.scala (2 lines):
- line 25: // TODO avoid name clashes, avoid more FQNs with adjustTypes.
- line 94: case Some(cls: ScClass) if cls.isCase => // TODO: SCALA 3 has enum classes, which should work here, too
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/refactoring/introduceVariable/ScalaIntroduceVariableDialog.java (2 lines):
- line 182: // TODO Are all non-local variables now "private"?
- line 183: // TODO Is there a scope selection?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ScalaType.scala (2 lines):
- line 25: // TODO This is all a bit ad-hoc. What can we learn from scalac?
- line 26: // TODO perhaps we need to choose the lower bound if we are in a contravariant position. We get away
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/RedundantHeadOrLastOptionInspection.scala (2 lines):
- line 16: // TODO infix notation?
- line 27: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/importOptimizer/ImportInfo.scala (2 lines):
- line 28: * TODO: add descriptions of all other params
- line 393: // TODO: maybe we should create a separate extension point with a dedicated purpose?
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScPatternAnnotator.scala (2 lines):
- line 289: // TODO Should be in ScPattern, not in the annotator?
- line 301: // TODO Should be in ScPattern, not in the annotator?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/refactoring/delete/ScalaSafeDeleteProcessorDelegate.scala (2 lines):
- line 33: case m: ScFunction => // TODO Scala specific override/implements, extend to vals, members, type aliases etc.
- line 49: // TODO Use Scala specific DeleteUsageInfo, and consider them here.
scala/scala-meta-impl/src/scala/meta/trees/Namer.scala (2 lines):
- line 32: // TODO: what to resolve apply/update methods to?
- line 79: die(ScalaMetaBundle.message("synthetic.elements.not.implemented")) // FIXME: find a way to resolve synthetic elements
sbt/sbt-impl/src/org/jetbrains/sbt/project/data/service/SbtProjectDataService.scala (2 lines):
- line 56: // TODO This was introduced in 2023. By now, all users should have updated IDEA to a newer version,
- line 66: TODO checking if library name does not start with hardcoded prefixes ("Gradle:", "Maven:", "BSP:") is not an ideal implementation.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/completion/ScalaBasicCompletionProvider.scala (2 lines):
- line 185: if lookupStrings.add(element.getLookupString) // TODO support renamed classes
- line 316: case method: FakePsiMethod => !method.name.endsWith("_=") // TODO unify! // don't show _= methods for vars in basic completion
scala/scala-impl/src/org/jetbrains/plugins/scala/settings/ScalaApplicationSettings.java (2 lines):
- line 20: // TODO Don't save these values as we now rely on the code style instead
- line 30: // TODO See the comment above
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/processors/ScalaIndentProcessor.scala (2 lines):
- line 92: //TODO these are hack methods to facilitate indenting in cases when comment before def/val/var adds one more level of blocks
- line 125: //TODO (minor) we ask `isInScala3File` for many elements, which is not optimal (it requires tree traversal to parent every time)
scala/scala-impl/src/org/jetbrains/plugins/scala/util/MultilineStringUtil.scala (2 lines):
- line 174: //TODO: it seems like it only works when the original string literal doesn't have ".stripMargin" call
- line 341: // TODO: reuse IndentUtil.calcIndent
bsp-builtin/bsp/src/org/jetbrains/bsp/project/importing/BspProjectResolver.scala (2 lines):
- line 194: // TODO support other bloop-enabled build tools as well
- line 233: //TODO: runBloopInstall changes `importState` inside
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/ScalaDocContentGeneratorMarkdown.scala (2 lines):
- line 62: case None => ??? // TODO: this "should" be impossible, so it should throw an error, but it's technically possible
- line 67: // TODO: This is wrong if `comment` is a wikidoc comment.
scala/scala-impl/src/org/jetbrains/plugins/scala/actions/ScalaFileTemplateUtil.scala (2 lines):
- line 46: //TODO: this s still enough. The created temporary file does not belong to the directory yet.
- line 63: //TODO (minor) we should handle all kind of code with braces from potential user-defined file templates
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/api/presentation/TypePresentation.scala (2 lines):
- line 98: // TODO Why the presentable text for java.lang.Long is "Long" in Scala? (see SCL-15899)
- line 99: // TODO (and why the canonical text for scala.Long is "Long", for that matter)
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/IndexBoundsCheckInspection.scala (2 lines):
- line 37: // TODO infix notation?
- line 46: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/base/ScStableCodeReferenceImpl.scala (2 lines):
- line 390: //@TODO: partial functions as well???
- line 610: // TODO # type projections
build.sbt (2 lines):
- line 774: //TODO: rename the module module and maybe base packages (check external usages)
- line 999: // // TODO: use `intellijVersion_ForManagedIntellijDependencies` as version once the plugin is published properly
sbt/sbt-impl/src/org/jetbrains/sbt/shell/completion.scala (2 lines):
- line 19: // TODO just some commonly used builtins for now. later, load all the tasks, settings, commands, projects etc from sbt server and give more complete suggestions based on that!
- line 26: // TODO figure out how to use the parsers for InputKeys and Commands to supply their autocompletion to shell
scala/scala-meta-impl/src/scala/meta/trees/TypeAdapter.scala (2 lines):
- line 114: toType(s(t.`type`().get)) // FIXME: what about typing context?
- line 198: //FIXME: pass actual prefix, when solution for recursive prefix computation is ready
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/rearranger/RearrangerUtils.scala (2 lines):
- line 13: //TODO: use names from bundle
- line 76: val commonModifiers = scalaAccessModifiers + FINAL //TODO: determine if final is common
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/OperationOnCollectionInspectionBase.scala (2 lines):
- line 66: // TODO: Basically, the same as ScalaProjectSettingsUtil.getPatternValidator#checkInput
- line 138: // TODO: this way changes to likeCollection/likeOption lists are not detected by Swing
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScUnderscoreSectionAnnotator.scala (2 lines):
- line 15: // TODO (otherwise there's no type conformance check)
- line 36: // TODO SCL-2610 properly detect unbound placeholders, e.g. ( { _; (_: Int) } ) and report them.
scala/structure-view/src/org/jetbrains/plugins/scala/structureView/element/Extension.scala (2 lines):
- line 7: // TODO: improve in SCL-19224
- line 19: override protected def location: Option[String] = None // TODO: extension can be inherited
bsp-builtin/bsp/src/org/jetbrains/bsp/protocol/session/GenericConnector.scala (2 lines):
- line 18: // TODO check bsp version compatibility
- line 19: // TODO check languages compatibility
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/toplevel/typedef/ScGiven.scala (2 lines):
- line 15: with ScTypedDefinition // TODO It's a subtype of ScNamedElement
- line 23: // TODO Why it's a subtype of ScNamedElement if there might be no name?
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/AnnotatorPart.scala (2 lines):
- line 26: // TODO 1) collectSuperRefs should be a protected method
- line 27: // TODO 2) superRefs method should be called once
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/statements/params/ScParameter.scala (2 lines):
- line 53: // TODO hasDeclaredDefaultArgument
- line 160: // TODO hasDefaultArgument
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/rearranger/ScalaArrangementVisitor.scala (2 lines):
- line 90: //TODO: insert inter-field dependency here
- line 109: //TODO: insert inter-field dependency here
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/gutter/ScalaLineMarkerProvider.scala (2 lines):
- line 240: // TODO Split methods between a companion object and packet object (so that methods can be more private)
- line 412: // TODO Enable in tests when GutterMarkersTest will be able to separate different maker providers
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/statements/params/ScTypeParamClauseImpl.scala (2 lines):
- line 30: @nowarn("cat=deprecation") // TODO: SCL-23400
- line 33: @nowarn("cat=deprecation") // TODO: SCL-23400
scala/integration/packagesearch/src/org/jetbrains/plugins/scala/packagesearch/SbtModuleTransformer.scala (2 lines):
- line 30: //TODO: delete unused before next release
- line 68: //TODO: pass proper indexes after this is fixed: SCL-19838
scala/scala-impl/src/org/jetbrains/plugins/scala/project/settings/ScalaCompilerProfilesPanel.scala (2 lines):
- line 36: private val myDefaultProfile = new ScalaCompilerSettingsProfile("") // TODO: make immutable?
- line 110: val copy = new ScalaCompilerSettingsProfile("") // TODO: make immutable
scala/scala-impl/src/org/jetbrains/plugins/scala/project/ScalaFeatures.scala (2 lines):
- line 35: def isSource3UnicodeEscapesRaw: Boolean //TODO: shouldn't be here, see SCL-23158
- line 67: // TODO: this will be refactored in 213.x
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/ScalaBlockBuilder.scala (2 lines):
- line 58: // TODO: there are quite many unnecessary array allocations and copies, consider passing
- line 364: //TODO process rare case of first-line comment before one of the fields for SCL-10000 here
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/typedHandler/AutoBraceInsertionTools.scala (2 lines):
- line 161: // TODO: temp disabled auto-braces feature for Scala3, cause Scala3 doesn't require braces
- line 323: // TODO: temporary disabled auto-braces feature for Scala3, cause Scala3 doesn't require braces
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/RangeToIndicesInspection.scala (2 lines):
- line 20: // TODO infix notation?
- line 41: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/feature/LanguageFeatureInspection.scala (2 lines):
- line 39: // TODO if !e.applicationProblems.exists(_.isInstanceOf[MissedValueParameter]), see TypeMismatchHighlightingTest
- line 64: case e: ScExistentialClause => e.firstChild.getOrElse(e) // TODO Exclude reducible existential types
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/MapGetEmptinessCheckInspection.scala (2 lines):
- line 19: // TODO infix notation?
- line 35: // TODO infix notation?
scala/debugger/src/org/jetbrains/plugins/scala/debugger/evaluation/ScalaEvaluatorBuilderUtil.scala (2 lines):
- line 480: //@TODO: multiple using clauses
- line 795: // TODO: could also be primary constructor or extension method... maybe need handling too?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/templates/ScTemplateBodyImpl.scala (2 lines):
- line 39: @nowarn("cat=deprecation") // TODO: SCL-23400
- line 64: @nowarn("cat=deprecation") // TODO: SCL-23400
scala/scala-impl/src/org/jetbrains/plugins/scala/actions/NewScalaFileAction.scala (2 lines):
- line 31: //TODO: cover this feature with tests. It might require writing custom base test classes
- line 202: //TODO: delete it in Nightly or EAP, the issue is fixed in the platform
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/scalafmt/ScalafmtDynamicServiceImpl.scala (2 lines):
- line 152: // TODO: if reformat action was performed but scalafmt version is not resolve
- line 236: // TODO: avoid null project, use Option, and propagate it everywhere
sbt/sbt-impl/src/org/jetbrains/sbt/project/template/wizard/buildSystem/package.scala (2 lines):
- line 77: .zipWithIndex // TODO: This is a hack to install onboarding tips in main.scala only; remove it when the platform allows for tips in multiple files
- line 199: "ActionImplicitHints" -> shortcut("Scala.ShowImplicits"), // TODO: Put action ids in one place
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/CommonUtils.scala (2 lines):
- line 65: // TODO: are these 2 dead branches? they are not triggered by tests
- line 81: // FIXME: non-interpolated strings behave a little differently
sbt/sbt-impl/src/org/jetbrains/sbt/language/SbtFileImpl.scala (2 lines):
- line 43: // TODO this is a workaround, we need to find out why references stopped resolving via the chained imports
- line 46: // TODO: this is a workaround. `processDeclarations` does not resolve "Play.autoImport -> PlayImport"
sbt/sbt-impl/src/org/jetbrains/sbt/execution/SbtOrderEnumeratorHandler.scala (2 lines):
- line 80: //TODO SCL-22835
- line 84: //TODO: sbt doesn't copy resources which are located near main sources to the `target/scala-xy/classes` folder
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/EmulateFlattenInspection.scala (2 lines):
- line 20: // TODO infix notation?
- line 52: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/resolve/processor/MethodResolveProcessor.scala (2 lines):
- line 608: //@TODO: since we care about multiple argument clauses in scala 3,
- line 737: //@TODO: does it make sense to retry every clause w/o expected type?
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/TypeMismatchError.scala (2 lines):
- line 38: // TODO update the test data, SCL-15483
- line 55: // TODO Can we detect a "current" color scheme in a "current" editor somehow?
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/backspaceHandler/Scala3IndentationBasedSyntaxBackspaceHandler.scala (2 lines):
- line 105: StringUtil.repeatSymbol(' ', elementIndentSize) // TODO: handle TABS
- line 223: // Exception is when the caret is in a whitespace between case clauses TODO: update this part of comment
scala/scala-impl/src/org/jetbrains/plugins/scala/caches/RecursionManager.scala (2 lines):
- line 110: // TODO find(predicate) method
- line 111: def ids: Set[String] = idToGuard.keySet().iterator().asScala.toSet // TODO don't create Set and then filter
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ConstraintsResult.scala (2 lines):
- line 321: invariantAbstract = freshExArg(_), // TODO: why this is right?
- line 334: invariantAbstract = _.lower, // TODO: why this is right?
scala/debugger/src/org/jetbrains/plugins/scala/debugger/evaluation/util/DebuggerUtil.scala (2 lines):
- line 136: // TODO Either propagate features or determine Scala version of libraries without using module, SCL-20935
- line 289: // TODO: somehow detect scala version and don't append the suffix since scala 2.12
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/resolve/ReferenceExpressionResolver.scala (2 lines):
- line 55: //TODO should right expression really be parsed as Tuple (not as argument list)?
- line 363: //@TODO: partial functions as well???
scala/scala-impl/src/org/jetbrains/plugins/scala/caches/Cache0.scala (2 lines):
- line 10: // TODO Cache0[R] == CacheN[Unit, R]
- line 15: CacheTracker.track(id, name)(new AtomicReference(Timestamped(null.asInstanceOf[R], -1L))) // TODO (timestampedSingleValueCacheCapabilities)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/toplevel/imports/usages/ImportUsed.scala (2 lines):
- line 14: // TODO 1: choose better naming, import used sounds like the import is actually used in the file
- line 16: // TODO 2: it should have generic type [T <: PsiElement] instead of hardcoded type in pointer: SmartPsiElementPointer[PsiElement]
sbt/sbt-impl/src/org/jetbrains/sbt/project/template/ModuleBuilderBase.scala (2 lines):
- line 32: //TODO: why is it JavaModuleType and not SbtModuleType?
- line 104: // TODO customize the path in UI when IDEA-122951 will be implemented
sbt/sbt-impl/src/org/jetbrains/sbt/project/SbtProjectManagerListener.scala (2 lines):
- line 35: // TODO Only do this if auto-import is enabled? (more predictable, on the other hand, it's not about "build scripts", as the setting claims)
- line 38: settings.converterVersion = SbtProjectSettings.ConverterVersion // TODO Remove (don't trigger another refresh in any case)
scala/debugger/src/org/jetbrains/plugins/scala/debugger/evaluation/evaluator/ScalaMethodEvaluator.scala (2 lines):
- line 95: // TODO: Rewrite using proper APIs.
- line 195: // TODO: Rewrite using proper APIs.
sbt/sbt-impl/src/org/jetbrains/sbt/SbtUtil.scala (2 lines):
- line 191: //TODO: do we need to report the warning to user
- line 361: // TODO - think about some possibility to allow the user to choose in which project the shell should be fired
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/ScalaDocDefinitionGenerator.scala (2 lines):
- line 196: // TODO: since SCL-13777 spaces are effectively not used! cause we remove all new lines and spaces after rendering
- line 277: // TODO: it should contain description of the parameter from the scaladoc
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInsight/intention/types/ConvertImplicitBoundsToImplicitParameter.scala (2 lines):
- line 25: //@TODO: review and adapt to 3.6+ new context bounds
- line 71: //TODO: new expansion rules in SIP-64
scala/structure-view/src/org/jetbrains/plugins/scala/structureView/element/Test.scala (2 lines):
- line 11: // TODO move to the implemenation of testing support
- line 33: // TODO: custom type, add icon SCL-15735
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScTypedExpressionAnnotator.scala (2 lines):
- line 44: // TODO add messange to the whole element, but higlight separate parts?
- line 45: // TODO fine-grained tooltip
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/ScalaLanguageSubstitutor.scala (2 lines):
- line 44: // TODO For library sources, determine whether a .scala file (possibly in a JAR) is associated with a .tasty file (possibly in a JAR)
- line 71: if (ScalaLibrary_3_8_plus.findFirstIn(path).isDefined) // TODO Generalize, SCL-18956
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/ScalaScratchFileCreationHelper.scala (2 lines):
- line 20: // TODO: create a proper, clean API for this in IDEA platform
- line 33: // TODO (minor): Running of scala scratch files in non-worksheet mode doesn't work now
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScMethodInvocationAnnotator.scala (2 lines):
- line 27: // TODO unify with ScConstructorInvocationAnnotator and ScReferenceAnnotator
- line 28: // TODO Why it's only used for ScMethodCall and ScInfixExp, but not for ScPrefixExp or ScPostfixExpr?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/packaging/ScPackagingImpl.scala (2 lines):
- line 54: @nowarn("cat=deprecation") // TODO: SCL-23400
- line 167: @nowarn("cat=deprecation") // TODO: SCL-23400
project/Common.scala (2 lines):
- line 272: // TODO Only Test / scalacOptions
- line 292: //TODO we should generally filter META-INF when merging jars
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/templates/ScExtendsBlockImpl.scala (2 lines):
- line 239: @nowarn("cat=deprecation") // TODO: SCL-23400
- line 243: @nowarn("cat=deprecation") // TODO: SCL-23400
bsp-builtin/bsp/src/org/jetbrains/bsp/project/BspProjectTaskRunner.scala (2 lines):
- line 57: // TODO all these Options fail silently. collect errors and report something
- line 79: // TODO save only documents in affected targets?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/synthetic/ScSyntheticClass.scala (2 lines):
- line 84: //TODO: current implementation might not work in a project with multiple scala versions. It depends on SCL-22349.
- line 475: //FIXME: in a scala library Matchable actually a "trait", not a "class"
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/ScalaDocContentGeneratorWikidoc.scala (2 lines):
- line 403: // TODO: this actually can be triggered for non companions but e.g. for
- line 450: * TODO: unify with [[org.jetbrains.plugins.scala.editor.documentationProvider.HtmlPsiUtils.psiElementLink]]
scala/uast/src/org/jetbrains/plugins/scala/lang/psi/uast/expressions/ScUMethodCallExpression.scala (2 lines):
- line 75: // TODO: not implemented properly
- line 110: // TODO add conversion of CBN-parameters to implicit lambdas
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/Scala3IndentationBasedSyntaxUtils.scala (2 lines):
- line 8: // TODO rework this
- line 9: // TODO test this
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/base/Extension.scala (2 lines):
- line 45: // TODO: add annotator which will mark extensions without extension methods
- line 57: // TODO: colon is not available in extension methods
scala/scala-meta-impl/src/scala/meta/trees/TreeAdapter.scala (2 lines):
- line 154: // FIXME: we don't have explicit information on what ctor has been used, so just select first one
- line 207: // FIXME: preserve expression and member order
scala/uast/src/org/jetbrains/plugins/scala/uast/ScalaUastLanguagePlugin.scala (2 lines):
- line 52: // TODO:
- line 114: throw new NotImplementedError // TODO: not implemented
sbt/sbt-impl/src/org/jetbrains/sbt/project/data/service/AbstractSbtModuleDataService.scala (1 line):
- line 21: // TODO: Override #getExternalModuleType so the platform sets the external module type in #setModuleOptions,
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/package.scala (1 line):
- line 333: //TODO: move to org.jetbrains.plugins.scala.util.CommonQualifiedNames and reuse
project/IntellijSdkSubsetInfo.scala (1 line):
- line 57: * TODO: can we read the base classpath from the product.info?
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/ScalaDocumentationUtils.scala (1 line):
- line 13: // TODO: review usages, maybe proper way will be to use null / None?
scala/compiler-shared/src/org/jetbrains/plugins/scala/compiler/data/ScalaCompilerSettingsStateBuilder.scala (1 line):
- line 57: //TODO: SCL-16881 Support "Debugging info level" for dotty
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/dfa/controlFlow/transform/ExpressionTransformation.scala (1 line):
- line 113: // TODO Handle cases and finally, SCL-22813
scala/scala-impl/src/org/jetbrains/plugins/scala/util/BaseIconProvider.scala (1 line):
- line 27: // TODO baseIcon shouldn't return null in ScVariable and ScFunction
scala/scala-api/src/project/ScalaLanguageLevel.java (1 line):
- line 60: //TODO: Consider unifying hardcoded Scala 3 versions used throughout the project
bsp-builtin/bsp/src/org/jetbrains/bsp/project/importing/BspResolverDescriptors.scala (1 line):
- line 62: scalacOptions: Try[ScalacOptionsResult], // TODO should be optional
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/intrinsics/CompileTimeOpsShims.scala (1 line):
- line 16: //TODO: Ideally we need to cache compiled regular expressions for performance reasons (probably some bounded cache would do)"
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/completion/package.scala (1 line):
- line 120: // TODO to be reused
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/parameters/NameBooleanParametersInspectionBase.scala (1 line):
- line 30: if (mc.isInScala3File) return // TODO Handle Scala 3 code (`using` arguments, etc.), SCL-19602
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/TypeMismatchHints.scala (1 line):
- line 136: // TODO Use a dedicated pass when built-in "advanced" hint API will be available in IDEA, SCL-14502
scala/scala-impl/src/org/jetbrains/plugins/scala/caches/CacheWithoutModificationCount0.scala (1 line):
- line 7: // TODO CacheWithoutModificationCount0[R] == CacheWithoutModificationCountN[Unit, R]
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/refactoring/delete/SafeDeleteProcessorUtil.scala (1 line):
- line 161: val info = new SafeDeleteUsageInfo(x, psiMethod) // TODO SafeDeleteOverridingMemberUsageInfo
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/expr/ScConstrBlockExprImpl.scala (1 line):
- line 9: override def toString: String = "ConstructorBlock" // TODO: rename to ConstructorBlockExpression
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/expr/ScIfImpl.scala (1 line):
- line 80: tt.lub(et) // TODO Union type in Scala 3, SCL-23806
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/base/patterns/ScTypedPatternLike.scala (1 line):
- line 29: // TODO: support more pattern types
scala/uast/src/org/jetbrains/plugins/scala/lang/psi/uast/expressions/ScUBinaryExpression.scala (1 line):
- line 38: // TODO: not implemented properly
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/processor/WorksheetCompilerUtil.scala (1 line):
- line 17: private val ERROR_CONTENT_NAME = "Worksheet errors" // TODO: is it effectively used?
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/charts/ui/TextRendering.scala (1 line):
- line 44: graphics.setFont(font) // TODO: the method kinda doesn't imply that it mutates state
scala/compiler-integration-server-management/src/org/jetbrains/plugins/scala/compiler/ScalaCompileServerForm.java (1 line):
- line 60: // TODO: will not work with localized IDEA
scala/compile-server/src/org/jetbrains/jps/incremental/scala/remote/Jps.scala (1 line):
- line 184: //TODO: Ideally we would need some way to pass the value to JpsProjectLoader more transparently
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/MapKeysInspection.scala (1 line):
- line 16: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScTypeBoundsOwnerAnnotator.scala (1 line):
- line 33: // TODO: This is a dirty workaround fix for SCL-21814.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/transformation/functions/ExpandPlaceholderSyntax.scala (1 line):
- line 33: // TODO don't re-parse type elements
scala/integration/gradle/src/org/jetbrains/plugins/scala/project/gradle/ScalaGradleDataService.scala (1 line):
- line 31: //TODO remove this in some feature release (probably 2026/2027)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/ChainedMethodCallsBlockBuilder.scala (1 line):
- line 228: //TODO (minor) we ask `isInScala3File` for many elements, which is not optimal (it requires tree traversal to parent every time)
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/template/macros/ScalaAnnotatedMacro.scala (1 line):
- line 20: case _ if params.length > 0 => //TODO should params.length always equal 1?
scala/repl/src/org/jetbrains/plugins/scala/console/configuration/ScalaSdkJLineFixer.scala (1 line):
- line 18: //TODO: Fix Scala SDK setup in order that it includes jline jar as a dependency of scala-compiler
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/completion/ScalaUnresolvedNameContributor.scala (1 line):
- line 151: case MethodInvocation(`reference`, expressions) => Some(expressions) // TODO: List(1, 2) map myFunc -> to support
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/imports/ScImportSelectorsImpl.scala (1 line):
- line 28: @nowarn("cat=deprecation") // TODO: SCL-23400
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/lexer/ScalaTokenType.scala (1 line):
- line 56: val ImplicitFunctionArrow = new ScalaTokenType("?=>") // TODO: rename to context function arrow?
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/importOptimizer/OptimizeImportSettings.scala (1 line):
- line 86: //TODO: this branch is not covered with tests
bsp-builtin/bsp/src/org/jetbrains/bsp/project/BspProjectInstallProvider.scala (1 line):
- line 17: //TODO maybe BloopPreImporter should also be included in this logic?
scala/test-integration/test-runners/src/org/jetbrains/plugins/scala/testingSupport/TestRunnerUtil.java (1 line):
- line 89: // TODO: ^^^ it is already closed, handle it
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/ScalaDocUtil.scala (1 line):
- line 95: // TODO: this is far from perfect to rely on text... =(
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/base/patterns/ScPattern.scala (1 line):
- line 54: // TODO Don't use the return keyword
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/ComparingLengthInspection.scala (1 line):
- line 21: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/completion/lookups/package.scala (1 line):
- line 10: // TODO extract as a customizable LookupElementRenderer
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/CollectHeadOptionInspection.scala (1 line):
- line 17: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/base/ScAnnotationsHolder.scala (1 line):
- line 88: * TODO: understand and fix
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/hints/GeneralSettingsPanel.java (1 line):
- line 33: // TODO Just use public fields?
scala/scala-impl/src/org/jetbrains/plugins/scala/highlighter/ScalaColorsAndFontsPage.scala (1 line):
- line 134: //TODO: rename ANONIMOUS -> ANONYMOUS
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInsight/intention/ImplementAbstractMethodIntention.scala (1 line):
- line 5: //TODO: create alternative intention actions for all kinds of members: val/var/type etc...
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/internal/ScalaWrongPlatformMethodsUsageInspection.scala (1 line):
- line 14: * TODO: move to DevKit module
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/types/TupleOrNamedTupleOrParenthesizedType.scala (1 line):
- line 103: // TODO: remove ScTypes altogether
sbt/sbt-api/src/org/jetbrains/sbt/package.scala (1 line):
- line 68: // TODO: duplicates one from org.jetbrains.sbt.RichOption#safeMap, remove this, do not depend on sbt module for this method
scala/integration/intellilang/src/org/jetbrains/plugins/scala/intelliLang/injection/ScalaInjectionInfosCollector.scala (1 line):
- line 19: //TODO: (maybe?) optimize to use buffers and less flatMaps, because ScalaLanguageInjector.getLanguagesToInject is quite a hot method
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/top/Template.scala (1 line):
- line 27: // TODO: drop `tUPPER_BOUND`, the syntax is not supported any more:
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/implicits/ImplicitProcessor.scala (1 line):
- line 42: //@TODO: since scala 3 uses nestedness for implicit precedence, perhaps this is no longer needed?
scala/compiler-shared/src/org/jetbrains/plugins/scala/compiler/data/Arguments.scala (1 line):
- line 9: // TODO: separate different kinds of requests: Compile / Run worksheet / Run Repl worksheet / (potentially run tests)
scala/test-integration/scalatest-finders/src/main/java/org/scalatest/finders/MethodInvocation.java (1 line):
- line 26: private AstNode parent; // TODO: due to cyclic references, e.g. target can be a child as well, try to rewrite with proper constructors
scala/scala-impl/src/org/jetbrains/plugins/scala/findUsages/apply/ApplyMethodSearcher.scala (1 line):
- line 17: // TODO Check every ScMethodCall? Sounds expensive!
scala/scala-impl/src/org/jetbrains/plugins/scala/project/sdkdetect/repository/ScalaSdkDetectorBase.scala (1 line):
- line 87: scaladocExtraClasspath = Nil, // TODO SCL-17219
sbt/sbt-impl/src/org/jetbrains/sbt/project/SbtOpenProjectProvider.scala (1 line):
- line 63: // TODO duplicated with org.jetbrains.bsp.project.BspOpenProjectProvider.FinalImportCallback
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/MapGetGetInspection.scala (1 line):
- line 19: // TODO infix notation?
scala/compiler-jps/src/org/jetbrains/jps/incremental/scala/SettingsManager.java (1 line):
- line 47: // TODO: workaround for SCL-17196, SCL-18166, SCL-18867
scala/decompiler/src/org/jetbrains/plugins/scala/decompiler/scalasig/PickleFormat.scala (1 line):
- line 166: case class NullaryMethodType(resultType: Ref[Type]) extends Type // TODO extends FunctionType
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/scaladoc/psi/impl/ScDocCommentImpl.scala (1 line):
- line 56: // TODO: Do this more cleanly
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/typedef/ScTypeDefinitionImpl.scala (1 line):
- line 109: // TODO Should be unified, see ScModifierListOwner
scala/scala-impl/src/org/jetbrains/plugins/scala/autoImport/quickFix/ScalaImportElementFix.scala (1 line):
- line 187: //TODO: consider not using ReadAction.nonBlocking as it's documentation suggests
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/toplevel/ScModifierListOwner.scala (1 line):
- line 32: // TODO This method is, in fact, ...Java, as it interprets the absence of 'private' / 'protected' as the presence of 'public'
scala/test-integration/test-runners/src/org/jetbrains/plugins/scala/testingSupport/uTest/UTestSuiteRunner.java (1 line):
- line 94: // TODO: do not open all leaves at once cause it visually looks like we run all tests in parallel, which is wrong
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScPatternTypeUnawareAnnotator.scala (1 line):
- line 40: ProblemHighlightType.WEAK_WARNING // TODO: in case of warning be able to mute it?
scala-cli/src/org/jetbrains/scalaCli/project/template/wizard/ScalaCliModuleBuilder.scala (1 line):
- line 49: // TODO consider excluding .scala-build directory
scala/scala-impl/src/org/jetbrains/plugins/scala/caches/CacheWithRecursionGuard.scala (1 line):
- line 10: // TODO cacheWithRecursionGuard0[R] == cacheWithRecursionGuardN[Unit, R]
sbt/sbt-impl/src/org/jetbrains/sbt/runner/SbtDebugProgramRunner.scala (1 line):
- line 40: * @note This method is only called when `super.doExecute` is used TODO: check
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScForBindingAnnotator.scala (1 line):
- line 28: // TODO: this is quite the same as ScGeneratorAnnotator.annotate has
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/UnzipSingleElementInspection.scala (1 line):
- line 20: // TODO infix notation?
bsp-builtin/bsp/src/org/jetbrains/bsp/project/BspTaskManager.scala (1 line):
- line 8: // TODO bsp should be able to support this
sbt/sbt-impl/src/org/jetbrains/sbt/project/structure/Play2OldStructureAdapter.scala (1 line):
- line 14: // TODO: @dmitry.naydanov: please, refactor Play2 part and then remove this class
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/refactoring/namesSuggester/genericTypes/GenericTypeNamesProvider.scala (1 line):
- line 19: // TODO: extract this, due to it doesn't relate to this Extension point and only confuses
bsp-builtin/bsp/src/org/jetbrains/bsp/protocol/bspJob.scala (1 line):
- line 25: // TODO Consider moving this to `CancelableWaitUtil`
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/charts/ui/ActionPanel.scala (1 line):
- line 38: // TODO Dynamic legend (that depends on the currently visible largest areas)?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/expr/ScAssignmentImpl.scala (1 line):
- line 75: // TODO: maybe it could extracted to some utility method
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/expr/ScTryImpl.scala (1 line):
- line 45: .map(tryBlockType.lub(_)) // TODO Union type in Scala 3, SCL-23806
sbt/sbt-impl/src/org/jetbrains/sbt/project/template/wizard/ScalaAssetsNewProjectWizardStep.scala (1 line):
- line 15: // TODO: move onboarding tips and sample code creation to the assets step
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/FilterSetContainsInspection.scala (1 line):
- line 17: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/caches/BlockModificationTracker.scala (1 line):
- line 101: // TODO enable (SmartIfCondition test needs to be fixed)
scala/scala-impl/src/org/jetbrains/plugins/scala/project/ScalaModuleSettings.scala (1 line):
- line 257: //TODO: instead of relying of some classpath, just register module-level Scala SDK for `-build` modules
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/references/indices/CompilerReferenceIndexerScheduler.scala (1 line):
- line 22: // TODO: BackgroundTaskQueue is deprecated. See IJPL-384
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/enterHandler/AutoBraceEnterHandler.scala (1 line):
- line 29: // TODO: review the behaviour for all Scala contexts in case the setting is disabled
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/expressions/Spliced.scala (1 line):
- line 16: //TODO: splice can can go without `{` for example: '{ $argsExpr.sum }
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/hints/HintUI.scala (1 line):
- line 48: // TODO Why HTML is rewritten by com.intellij.ide.IdeTooltipManager.initPane(com.intellij.util.ui.Html, com.intellij.ui.HintHint, javax.swing.JLayeredPane) ?
scala/scala-impl/src/org/jetbrains/plugins/scala/format/ScalaStringUtils.scala (1 line):
- line 67: * TODO: handle Scala 3 case, where raw strings don't support Unicode escapes
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/template/ImplicitParametersAnnotator.scala (1 line):
- line 42: // TODO Can we detect a "current" color scheme in a "current" editor somehow?
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScParameterAnnotator.scala (1 line):
- line 63: // TODO move to ScClassParameter
sbt/sbt-impl/src/org/jetbrains/sbt/project/data/service/SharedSourcesOwnersDataService.scala (1 line):
- line 18: // TODO SCL-22395
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/base/patterns/ScTypedPatternImpl.scala (1 line):
- line 38: //TODO: aliases, wildcards
sbt/sbt-impl/src/org/jetbrains/plugins/scala/build/LogReporter.scala (1 line):
- line 65: // TODO add custom error logging logic if when necessary
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/hints/Hint.scala (1 line):
- line 61: // TODO Can we detect a "current" editor somehow?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/scaladoc/lexer/_ScalaDocLexer.flex (1 line):
- line 277: // TODO: fix this within SCL-5428, SCL-8125, SCL-13263
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/gutter/ScalaGoToSuperActionHandler.scala (1 line):
- line 70: // TODO refactor a bit more.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/scaladoc/parser/parsing/markdown/WikiLinkParser.scala (1 line):
- line 11: // TODO:
scala/integration/packagesearch/src/org/jetbrains/plugins/scala/packagesearch/SbtResolvedDependenciesProvider.scala (1 line):
- line 13: util.Collections.emptyList() // TODO: implement (also see SCL-19838)
scala/structure-view/src/org/jetbrains/plugins/scala/structureView/ScalaStructureViewModel.scala (1 line):
- line 37: // TODO Enable inferred types
scala/scala-impl/src/org/jetbrains/plugins/scala/project/sdkdetect/repository/CoursierPaths.java (1 line):
- line 49: // TODO After switching to nio, that logic can be unit tested with mock filesystems.
bsp-builtin/bsp/src/org/jetbrains/bsp/protocol/BspCommunication.scala (1 line):
- line 231: // TODO supported languages should be extendable
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/builder/ScalaPsiBuilderImpl.scala (1 line):
- line 15: // TODO: now isScala3 is properly set only in org.jetbrains.plugins.scala.lang.parser.ScalaParser
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/settings/OtherCodeStylePanel.java (1 line):
- line 17: // TODO: maybe group settings "Replace ... with unicode symbol"?
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/parentheses/parentheses.scala (1 line):
- line 21: // TODO: shouldn't the highlighting level be taken from the inspection settings?
scala/compiler-shared/src/org/jetbrains/plugins/scala/util/SbtModuleType.scala (1 line):
- line 6: TODO sbtNestedModuleType value is not the best chosen, but to change this name correctly it will be necessary to support
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/refactoring/ScalaNamesValidator.scala (1 line):
- line 52: // TODO distinguish between Scala 2 & 3
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/settings/ScalaFmtSettingsPanel.scala (1 line):
- line 480: // TODO: will not work in non-english localization, also see ScalaCompileServerForm
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/ui/WorksheetFoldGroup.scala (1 line):
- line 222: // TODO: looks like listeners are leaked, see FoldingModelImpl.notifyListenersOnFoldRegionStateChange
sbt/sbt-impl/src/org/jetbrains/sbt/shell/SbtShellToolWindowFactory.scala (1 line):
- line 108: // TODO: we could pass ToolWindow directly to ProcessManager ans SbtShellRunner
scala/debugger/src/org/jetbrains/plugins/scala/debugger/evaluation/ScalaEvaluatorCompileHelper.scala (1 line):
- line 110: compilationProcess.addTerminationCallback { _ => // TODO: do not ignore possible exception
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/expressions/ColonArgument.scala (1 line):
- line 109: // TODO: if not isOk add "newline expected" error and parse block
scala/uast/src/org/jetbrains/plugins/scala/lang/psi/uast/expressions/ScUPrefixExpression.scala (1 line):
- line 24: // TODO: not implemented properly
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/ScopeAnnotator.scala (1 line):
- line 99: case en: ScEnum => en.members ++ en.cases //TODO: remove this line after SCL-21270 is fixed
sbt/sbt-impl/src/org/jetbrains/sbt/project/SbtConfigLocator.scala (1 line):
- line 23: // FIXME this is not a comprehensive sbt config location
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/HighlightingAdvisor.scala (1 line):
- line 22: // TODO: we currently only check
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/expr/ScMatchImpl.scala (1 line):
- line 18: val branchesLub = branchesTypes.foldLeft(Nothing: ScType)(_.lub(_)) // TODO Union type in Scala 3, SCL-23806
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/targetNameAnnotation/NoTargetNameAnnotationForOperatorLikeDefinitionInspection.scala (1 line):
- line 23: // TODO: maybe suggest splitting cases and adding an annotation to the case with `element` nameId
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/ui/WorksheetControlPanel.scala (1 line):
- line 14: // TODO: check if Scala Plugin is unloadable if there are some worksheets with initialized top panel UI
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInsight/intention/matcher/ConvertToTypedPatternIntention.scala (1 line):
- line 40: // TODO follow aliases
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/packageNameInspection/ScalaMoveToPackageQuickFix.scala (1 line):
- line 22: // TODO Support multiple source roots (more complicated because chooseDestinationPackage throws an exception instead of returning a directory in such a case.)
scala/test-integration/test-runners/src/org/jetbrains/plugins/scala/testingSupport/scalaTest/TeamcityReporter.java (1 line):
- line 4: * TODO: move all teamcity-specific reporting logic from test reporters to this class
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/typedef/TypeDefinitionMembers.scala (1 line):
- line 240: //@TODO: this is actually incorrect, compound type might be comprised purely of AnyVal types for example
scala/scala-api/src/util/ExternalSystemUtil.scala (1 line):
- line 170: //TODO: consider using `com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil.findProjectInfo` and see how it works?
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/FilterOtherContainsInspection.scala (1 line):
- line 25: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/statements/FunSig.scala (1 line):
- line 9: //TODO: rewrite this
sbt/sbt-impl/src/org/jetbrains/sbt/project/MigrateConfigurationsDialogWrapper.scala (1 line):
- line 69: // TODO The tooltip doesn't work when the user just clicks on it.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/Compatibility.scala (1 line):
- line 44: //TODO: get rid of this workaround
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/statements/ScExtension.scala (1 line):
- line 10: //TODO: extension is technically not a member.
bsp-builtin/bsp/src/org/jetbrains/plugins/scala/build/ConsoleReporter.scala (1 line):
- line 54: // TODO add custom error logging logic if when necessary
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/typedef/ScGivenDefinitionImpl.scala (1 line):
- line 160: // TODO Why ScGiven is a subtype of ScNamedElement it there might be no name?
scala/scala-api/src/NlsString.scala (1 line):
- line 48: * TODO:
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/FilterSizeInspection.scala (1 line):
- line 19: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/project/template/SdkSelectionDialogWrapper.scala (1 line):
- line 111: val scaladocExtraClasspath = Nil // TODO SCL-17219
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/base/literals/escapers/ScLiteralEscaperBase.scala (1 line):
- line 39: // TODO: fix platform in order to do enter handling for host file more directly
scala/compile-server/src/org/jetbrains/jps/incremental/scala/remote/Main.scala (1 line):
- line 106: // TODO: more reliable "unexpected process termination" SCL-19367
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/base/literals/ScSymbolLiteralImpl.scala (1 line):
- line 30: // TODO: this should be presented depending on the scala version... syntax with ' is not available in newer versions
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/typedef/ScTemplateDefinitionImpl.scala (1 line):
- line 55: debugName: String // TODO to be moved to ScalaStubBasedElementImpl eventually
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/RedundantCollectionConversionInspection.scala (1 line):
- line 22: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/caches/CacheN.scala (1 line):
- line 15: CacheTracker.track(id, name)(new AtomicReference(Timestamped(null, -1L))) // TODO (timestampedMapCacheCapabilities)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/scaladoc/parser/parsing/MyScaladocParsing.scala (1 line):
- line 61: * TODO: This is a very dirty hack.
scala/compiler-jps/src/org/jetbrains/jps/incremental/scala/model/impl/JpsScalaModelSerializerExtension.java (1 line):
- line 106: // TODO the default value should be changed if separateProdTestSources is enabled by default
sbt/sbt-impl/src/org/jetbrains/sbt/actions/GenerateManagedSourcesReporter.scala (1 line):
- line 32: // TODO add custom error logging logic if when necessary
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/selectioner/ScalaStringLiteralSelectioner.scala (1 line):
- line 43: // TODO: redo? use utils
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/highlighting/CompilerEventGeneratingClient.scala (1 line):
- line 38: // TODO: SCL-22142 Revisit after discussing the changes to fatal warnings in Scala 3.4.1 with the compiler team.
scala/test-integration/test-runners/src/org/jetbrains/plugins/scala/testingSupport/scalaTest/ScalaTestReporter.java (1 line):
- line 110: //TODO: should there be TestCanceled processing? It is processed in ScalaTestReporterWithLocation.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ScalaPsiTypeBridge.scala (1 line):
- line 87: .filterByType[PsiType] //TODO: `typeArguments` return `JvmType`, we should handle the rest types as well...
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/daemon/ScalaRefCountVisitor.scala (1 line):
- line 77: // TODO We should probably create a dedicated registry property that enables printing of the running time.
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/renderers/ScalaDocTypeRenderer.scala (1 line):
- line 106: // TODO Custom lambda and polymorphic function types, SCL-20394
scala/scala-utils-language-rt/src/org/jetbrains/plugins/scala/project/Version.scala (1 line):
- line 8: // TODO Make universal (move to a proper package)
scala/scala-impl/src/org/jetbrains/plugins/scala/settings/ProblemSolverUtils.java (1 line):
- line 12: // TODO Extend IDEA API by adding clearProblems() to the WolfTheProblemSolver interface
scala/repl/src/org/jetbrains/plugins/scala/console/ScalaLanguageConsole.scala (1 line):
- line 78: // TODO: override `LanguageConsoleImpl.getMinHistoryLineCount` and return `1` when it's made `protected
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parameterInfo/ScalaPatternParameterInfoHandler.scala (1 line):
- line 148: // TODO also check types correspond, allowing for overloading
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/MapValuesInspection.scala (1 line):
- line 16: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/toplevel/typedef/ScTypeDefinition.scala (1 line):
- line 76: //TODO: add ScalaDoc: what is it, how it's different from baseCompanion?
sbt/sbt-impl/src/org/jetbrains/plugins/scala/build/IndicatorReporter.scala (1 line):
- line 48: // TODO add custom error logging logic if when necessary
scala/structure-view/src/org/jetbrains/plugins/scala/structureView/element/AbstractNavigatable.scala (1 line):
- line 6: // TODO make private (after decoupling Test)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/transformation/DesugarCodeAction.scala (1 line):
- line 16: // TODO support read-only files (create duplicate scratch buffer)
scala/scala-impl/src/org/jetbrains/plugins/scala/actions/ScalaQualifiedNameProvider.scala (1 line):
- line 52: new JavaQualifiedNameProvider().qualifiedNameToElement(fqn, project) // TODO:
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ScalaBounds.scala (1 line):
- line 109: // TODO: should be implemented according to Scala compiler sources. However concerns about performance stops me.
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/implicits/menu/ImplicitArgumentsPopup.scala (1 line):
- line 24: //@TODO: adapt to multiple/interleaved implicit clauses
scala/test-integration/test-runners/src/org/jetbrains/plugins/scala/testingSupport/uTest/UTestPath.java (1 line):
- line 73: name = method.getName(); // TODO: we don't need intermediate test node in results tree
scala/structure-view/src/org/jetbrains/plugins/scala/structureView/element/AbstractItemPresentation.scala (1 line):
- line 13: // TODO make private (after decoupling Test)
sbt/sbt-impl/src/org/jetbrains/sbt/language/references/SbtSubprojectReferenceProvider.scala (1 line):
- line 69: // TODO: extract these methods into another class and use them to write path completion
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/typedef/ScGivenAliasDeclarationOrDefinitionImpl.scala (1 line):
- line 38: // TODO: returning this is a hack to not return null and has to be improved later
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/LastIndexToLastInspection.scala (1 line):
- line 18: // TODO infix notation?
scala/uast/src/org/jetbrains/plugins/scala/lang/psi/uast/expressions/ScULambdaExpression.scala (1 line):
- line 48: // TODO: remove
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/statements/ScVariable.scala (1 line):
- line 23: // TODO unify with ScFunction and ScValue
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/expr/PatternTypeInference.scala (1 line):
- line 195: //@TODO: should we add constraints from unapply type parameters too
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/base/ScModifierListImpl.scala (1 line):
- line 118: //TODO: to be more consistent with getApplicableAnnotations in 2021.2 lets change it to simpler implementation:
bsp-builtin/bsp/src/org/jetbrains/bsp/project/importing/bspConfigSteps.scala (1 line):
- line 236: // TODO this spawns an indicator window which is not nice.
scala/scala-impl/src/org/jetbrains/plugins/scala/highlighter/ScalaSyntaxHighlighterFactory.scala (1 line):
- line 52: findByLanguage(ScalaDocLanguage.INSTANCE, project, file), // TODO: Switch highlighting lexer depending on markdown/wikidoc
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/scaladoc/ScalaDocUnknownParameterInspection.scala (1 line):
- line 82: //TODO: warn when there are multiple cases
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/statements/ScFunction.scala (1 line):
- line 96: override def parameterList: ScParameters = paramClauses // TODO merge
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/typedef/ScObjectImpl.scala (1 line):
- line 67: // TODO Should be unified, see ScModifierListOwner
scala/structure-view/src/org/jetbrains/plugins/scala/structureView/element/Element.scala (1 line):
- line 29: // TODO Type definition can be inherited
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/statements/ScMacroDefinitionImpl.scala (1 line):
- line 29: case None => Right(Any) // TODO look up type from the macro impl.
scala/scala-impl/src/org/jetbrains/plugins/scala/project/settings/ScalaCompilerSettings.scala (1 line):
- line 58: //TODO: analyze other places which can call `additionalCompilerOptions` frequently and rewrite them as well to use cached value
scala/uast/src/org/jetbrains/plugins/scala/lang/psi/uast/declarations/ScUClass.scala (1 line):
- line 81: Array.empty // TODO: not implemented
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/base/ScPatternListImpl.scala (1 line):
- line 25: @nowarn("cat=deprecation") // TODO: SCL-23400
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/transformation/implicits/ExpandImplicitConversion.scala (1 line):
- line 13: // TODO we need to aquire complete resolve result, not the bare element to account for substitutor
sbt/sbt-impl/src/org/jetbrains/sbt/shell/action/projectWindowActions.scala (1 line):
- line 37: comms.command(buildCmd(projectPart, keyPart)) // TODO indicator
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/SortFilterInspection.scala (1 line):
- line 19: // TODO infix notation
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/completion/handlers/ScalaConstructorInsertHandler.scala (1 line):
- line 171: // TODO unify with ScalaLookupItem
scala/integration/i18n/src/org/jetbrains/plugins/scala/scalai18n/codeInspection/i18n/internal/ScalaExtractStringToBundleInspection.scala (1 line):
- line 54: // TODO -- Looks like we should remove the commented code and call ScalaI18nUtil.isPassedToNls directly
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ComparingUtil.scala (1 line):
- line 57: // TODO: implement correctly when TypePatterns are implemented
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/delegate/ScalaGenerateDelegateHandler.scala (1 line):
- line 118: //TODO 1: Select all methods from delegate which do not yet exist like in Java
scala/scala-impl/src/org/jetbrains/plugins/scala/highlighter/ScalaTestHighlighterUtil.scala (1 line):
- line 12: //TODO it is possible for this to create some false-positives, but it is very unlikely
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/ui/printers/WorksheetEditorPrinterBase.scala (1 line):
- line 165: // TODO: not used, but should, now instead org.jetbrains.plugins.scala.worksheet.ui.printers.WorksheetEditorPrinterFactory.BULK_COUNT is used
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/breadcrumbs/ScalaBreadcrumbsInfoProvider.scala (1 line):
- line 142: // TODO: describe givens?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/typedef/EnumMembersInjector.scala (1 line):
- line 42: // @TODO: valueOf return type is actually LUB of all singleton cases
scala/compiler-jps/src/org/jetbrains/jps/incremental/scala/local/LazyCompiledClass.scala (1 line):
- line 8: // TODO expect future JPS API to load the generated file content lazily (on demand)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/ScalaPsiManager.scala (1 line):
- line 444: else { // TODO Don't cache
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/settings/ui/WorksheetSettingsPanel.scala (1 line):
- line 66: // FIXME: Currently you can't unselect selected module, see: SCL-18054, IDEA-239791
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/recursiveUpdate/SubtypeUpdater.scala (1 line):
- line 155: // TODO Temporary workaround to avoid SOE - type aliases can be recursive, SCL-23190, SCL-20263
scala/runners/resources/org/jetbrains/plugins/scala/worksheet/src/MacroPrinter3_sources.scala (1 line):
- line 34: Expr(text.mkString(80, false)) // TODO: max width, const or parameterize in settings?
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/ReverseTakeReverseInspection.scala (1 line):
- line 16: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/toplevel/imports/ScImportExpr.scala (1 line):
- line 19: //TODO: rename the method.
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/WorksheetFileType.scala (1 line):
- line 13: // TODO worksheet logo
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/ToSetAndBackInspection.scala (1 line):
- line 29: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/expr/ScBlockImpl.scala (1 line):
- line 17: * TODO: delete ScBlockImpl, leave just ScBlockExpr
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ScParameterizedType.scala (1 line):
- line 25: //@TODO: scala 3 only
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/typeChecking/ComparingUnrelatedTypesInspection.scala (1 line):
- line 135: case e if e.isInScala3File => () // TODO Handle Scala 3 code (`CanEqual` instances, etc.), SCL-19722
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/stubs/elements/ScStubElementType.scala (1 line):
- line 48: // TODO is supposed to be eliminated eventually
bsp-builtin/bsp/src/org/jetbrains/bsp/project/BspExternalSystemUtil.scala (1 line):
- line 37: //TODO: do we need to report the warning to user
scala/structure-view/src/org/jetbrains/plugins/scala/structureView/sorter/ScalaAlphaSorter.scala (1 line):
- line 18: // TODO move to the implementation of testing support
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/backspaceHandler/ScalaBackspaceHandler.scala (1 line):
- line 125: // TODO: simplify when parsing of incomplete multiline strings is unified for interpolated and non-interpolated strings
scala/scala-api/src/icons/Icons.java (1 line):
- line 63: Icon EXTENSION = FUNCTION; // TODO: need dedicated icon or not?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/imports/ScImportSelectorImpl.scala (1 line):
- line 86: //TODO: what is this? set meaningful name for the operation and extract to method
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/template/macros/ScalaTypeResult.scala (1 line):
- line 10: //TODO maybe add a more meaningful implementation
scala/scala-impl/src/org/jetbrains/plugins/scala/packagesearch/package.scala (1 line):
- line 6: * TODO: extract when/if `scalaDirective` will be extracted from `scala-impl` module
scala/scala-impl/src/org/jetbrains/plugins/scala/packagesearch/util/DependencyUtil.scala (1 line):
- line 129: // TODO: SCL-23246 Reimplement using different maven search API.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/ImplicitArgumentsOwner.scala (1 line):
- line 11: // TODO Implement selectively, not by ScExpression
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/documentationProvider/ScalaDocContentWithSectionsGenerator.scala (1 line):
- line 216: // TODO: if there is inherited doc, get return description from there
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/rearranger/ScalaRearranger.scala (1 line):
- line 248: //TODO: Is 'override' ok with macros?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/refactoring/util/ScalaCompositeTypeValidator.scala (1 line):
- line 56: //TODO eliminate duplication
scala/scala-impl/src/org/jetbrains/plugins/scala/format/FormattedStringParser.scala (1 line):
- line 102: fqn == "scala.runtime.StringAdd" || // TODO: why StringAdd is here?
scala/compile-server/src/org/jetbrains/jps/incremental/scala/data/ArgumentsParser.scala (1 line):
- line 10: // TODO: move to compiler-shared
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/MapFlattenInspection.scala (1 line):
- line 20: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/text/ClassPrinter.scala (1 line):
- line 255: expr.getText // TODO Use AST
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/base/ScInterpolated.scala (1 line):
- line 35: // TODO: handle raw literal when dummy=false (in plain and multiline strings)
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/references/ScalaCompilerReferenceService.scala (1 line):
- line 232: // TODO: handle the following scenario:
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/hints/package.scala (1 line):
- line 111: // TODO use English.plural? But then both the name and the type would be plural,
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/gutter/ScalaGoToDeclarationHandler.scala (1 line):
- line 31: //TODO: move to a proper package, it doesn't belong to "annotator.gutter"
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/refactoring/inline/typeAlias/ScalaInlineTypeAliasHandler.scala (1 line):
- line 43: val HelpId: String = HelpID.INLINE_VARIABLE // TODO: more appropriate id?
scala/uast/src/org/jetbrains/plugins/scala/lang/psi/uast/declarations/ScUMethod.scala (1 line):
- line 36: // TODO: separate primary constructor and add body conversion for it
sbt/sbt-impl/src/org/jetbrains/sbt/shell/action/shellWindowActions.scala (1 line):
- line 94: templatePresentation.setIcon(AllIcons.Actions.TraceOver) // TODO sensible icon
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/scalafmt/ScalafmtDynamicConfigServiceImpl.scala (1 line):
- line 316: // TODO: implement detecting of the latest version from the Internet
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/enterHandler/TemplateParentsEnterHandler.scala (1 line):
- line 43: // TODO: we do so many `findElementAt` in different handlers and each time it does the tr traversal from the root
scala/compiler-integration-server-management/src/org/jetbrains/plugins/scala/compiler/CompileServerManager.scala (1 line):
- line 122: * TODO: rewrite with proper api when IDEA-273990 is fixed
scala/uast/src/org/jetbrains/plugins/scala/lang/psi/uast/declarations/ScUFile.scala (1 line):
- line 50: // TODO: only top level imports are converted - should all imports be converted?
scala/scala-utils-language/src/org/jetbrains/plugins/scala/util/CommonQualifiedNames.scala (1 line):
- line 54: //TODO: rename to StringContextFqn
scala/scala-impl/src/org/jetbrains/plugins/scala/project/sdkdetect/repository/SystemDetector.scala (1 line):
- line 205: resolveUsingJarMetaInfo(systemRoot, jarWithScalaClassPath, descriptor) //TODO: think about fallback mechanism
scala/uast/src/org/jetbrains/plugins/scala/lang/psi/uast/expressions/ScUnknownExpression.scala (1 line):
- line 12: // TODO: remove or replace all `UastEmptyExpression` with it
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/statements/params/ScParametersImpl.scala (1 line):
- line 28: @nowarn("cat=deprecation") // TODO: SCL-23400
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/internal/ScalaShouldBeTextContainsInspection.scala (1 line):
- line 23: // TODO infix notation?
scala/integration/intellilang/src/org/jetbrains/plugins/scala/intelliLang/injection/ScalaRegExpHost.scala (1 line):
- line 19: /** TODO: take into account JDK version if it is java.util.regex.Pattern.compile(...), see [[com.intellij.psi.impl.JavaRegExpHost]] */
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/settings/ScalaTabbedCodeStylePanel.scala (1 line):
- line 29: // TODO: rework this whole project juggling mess, there should be a straightforward way of depending on a project
scala/test-integration/test-runners/src/org/jetbrains/plugins/scala/testingSupport/uTest/UTestReporter.java (1 line):
- line 39: // TODO: location hings do not work for nested tests,
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/expr/ScAnnotationsImpl.scala (1 line):
- line 21: @nowarn("cat=deprecation") // TODO: SCL-23400
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScSimpleTypeElementAnnotator.scala (1 line):
- line 18: // TODO Shouldn't the ScExpressionAnnotator be enough?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/ScalaBlock.scala (1 line):
- line 79: * TODO: can't we reuse single instance for the whole file instead of for the each block?
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScParameterizedTypeElementAnnotator.scala (1 line):
- line 194: case ParameterizedType(ScProjectionType(_, _: ScTypeAliasDefinition), _) => return // TODO Workaround, fix testSCL22257
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/parsing/expressions/SplicedPatternExpr.scala (1 line):
- line 18: //TODO: splice can can go without `{` for example: '{ $argsExpr.sum }
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/internal/ScalaShouldBeTextMatchesInspection.scala (1 line):
- line 22: // TODO infix notation?
scala/scala-meta-impl/src/scala/meta/intellij/QuasiquoteInferUtilImpl.scala (1 line):
- line 120: // FIXME: this seems wrong - reference q parser only parses Stat or Ctor, however this way many qqs couldn't be parsed
scala/compiler-shared/src/org/jetbrains/plugins/scala/compiler/data/serialization/WorksheetArgsSerializer.scala (1 line):
- line 6: /** TODO: cover with property-based tests */
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/search/ScalaLocalInheritorsSearcher.scala (1 line):
- line 17: * TODO: show inheritors via gutter doesn't work in Scratch files (see IDEA-313012)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ScalaConformance.scala (1 line):
- line 291: //@TODO: that just looks incorrect
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/resolve/MethodTypeProvider.scala (1 line):
- line 140: // TODO: it looks not OK that we return the return type instead of ScMethodType
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScNewTemplateDefinitionAnnotator.scala (1 line):
- line 16: // TODO package private
sbt/sbt-impl/src/org/jetbrains/sbt/project/data/service/SharedSourcesOwnersDataWorkspaceDataService.scala (1 line):
- line 19: // TODO SCL-22395
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/template/CaseClassWithoutParamList.scala (1 line):
- line 81: // TODO update references to class.
scala/scala-impl/src/org/jetbrains/plugins/scala/format/InterpolatedStringFormatter.scala (1 line):
- line 76: // TODO: WTF naming
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/resolve/processor/BaseProcessor.scala (1 line):
- line 198: //@TODO: temporary fix, should be removed once lub/glb is implemented in a version specific manner
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ScType.scala (1 line):
- line 42: // TODO: we must not override toString which does such a complex stuff (resolve, tree traversal etc...)
sbt/sbt-impl/src/org/jetbrains/sbt/shell/SettingQueryHandler.scala (1 line):
- line 14: // TODO replace this when we have sbt server support
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/template/package.scala (1 line):
- line 9: // TODO move to annotator or to ScTemplateDefinition
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/editorActions/ScalaQuoteHandler.scala (1 line):
- line 112: // TODO: simplify when parsing of incomplete multiline strings is unified for interpolated and non-interpolated strings
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/recursiveUpdate/ScSubstitutor.scala (1 line):
- line 180: * TODO: consider rewriting ScSubstitutor with a seled trait with an Empty implementation which just returns same instance.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/completion/ScalaOverrideContributor.scala (1 line):
- line 40: // TODO: support kind of sorter
scala/compiler-integration-server-management/src/org/jetbrains/plugins/scala/compiler/JDK.scala (1 line):
- line 14: val tools = Option(jdkType.getToolsPath(sdk)).map(Path.of(_)) // TODO properly handle JDK 6 on Mac OS
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/api/presentation/ModifiersRenderer.scala (1 line):
- line 21: // TODO: maybe we should use modifiers order defined in `Code Style Settings | Scala | Arrangement`?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/statements/ScValue.scala (1 line):
- line 23: // TODO unify with ScFunction and ScVariable
scala/scala-impl/src/org/jetbrains/plugins/scala/editor/importOptimizer/ScalaImportOptimizer.scala (1 line):
- line 1042: //TODO: we can first finds the index and only then modify the buffer, otherwise why do we we shuffle the data in vain?
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/package.scala (1 line):
- line 34: // TODO: once initialized, it doesn't change because it is used in `val`s below
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/expr/ScPrefixExprImpl.scala (1 line):
- line 42: //TODO we have also support for Byte and Short, but that's not a big deal since literal types for them currently can't be parsed
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/declarationRedundancy/InspectionBasedHighlightingPass.scala (1 line):
- line 134: // TODO (SCL-20740): replace with new ProblemDescriptorBase(...), do not pass highlightInfo
scala/structure-view/src/org/jetbrains/plugins/scala/structureView/element/AbstractTreeElement.scala (1 line):
- line 8: // TODO make private (after decoupling Test)
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/element/ScSelfInvocationAnnotator.scala (1 line):
- line 13: // TODO unify using ConstructorInvocationLike
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/createFromUsage/CreateParameterQuickFix.scala (1 line):
- line 38: // TODO: Add preview (SCL-20398)
scala/scala-impl/src/org/jetbrains/plugins/scalaDirective/lang/completion/ScalaDirectiveDependencyCompletionProvider.scala (1 line):
- line 84: // TODO: SCL-23246 Reimplement using new maven search api.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/references/ScalaReferenceContributor.scala (1 line):
- line 47: case literal: ScStringLiteral if literal.hasValidClosingQuotes && literal.textContains('$') => // TODO remove this hack
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/intention/declarations/ChangeAccessModifierIntention.scala (1 line):
- line 354: // TODO: support the more sophisticated scala access scopes
scala/structure-view/src/org/jetbrains/plugins/scala/structureView/element/File.scala (1 line):
- line 7: // TODO Provide the element dynamically (or, at least, test how all that works in console)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/parser/package.scala (1 line):
- line 67: // TODO: something wrong with this naming, `varid` from gammar rules is something different: `varid ::= lower idrest`
bsp-builtin/bsp/src/org/jetbrains/bsp/project/importing/MillProjectInstaller.scala (1 line):
- line 44: //TODO: consider verifying Mill's installation in the #canImport to prevent its
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/highlighting/ToggleHighlightingModeListener.scala (1 line):
- line 29: // TODO: we should ensure that we do not do this if the project wasn't highlighted with compiler at all,
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/implicits/TextPartsHintRenderer.scala (1 line):
- line 21: //TODO: why it's in "implicits" package?
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/ui/WorksheetDiffSplitters.scala (1 line):
- line 38: // TODO: improve the way how rendered split diff poligons is tested
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/toplevel/ScTypedDefinition.scala (1 line):
- line 27: // TODO Add ScMember.isAbstract, also see isAbstract in ScValue / ScVariable
sbt/sbt-impl/src/org/jetbrains/sbt/codeInspection/SbtCodeInspectionUtils.scala (1 line):
- line 20: // TODO: it is not clear whether there could be any exceptions.
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/intrinsics/TypeIntrinsics.scala (1 line):
- line 33: //TODO: question of de-aliasing/reducing type aliases is more general and complicated
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/ScalaCode.scala (1 line):
- line 65: //@TODO: refactor to take ScalaFeatures into account, the same way
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/completion/ScalaSmartCompletionContributor.scala (1 line):
- line 444: // TODO: java classes?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/refactoring/inline/ScalaInliner.scala (1 line):
- line 100: val replacementActual = usageMethodCall.replaceExpression(replacement) //TODO: choose one technique
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/implicits/ImplicitHint.scala (1 line):
- line 48: // TODO Support user-defined order of inlays with the same offset in IDEA API
scala/test-integration/test-runners/src/org/jetbrains/plugins/scala/testingSupport/scalaTest/ScalaTestReporterWithLocation.java (1 line):
- line 200: //TODO: see if not processing id stack can cause trouble on suiteAborted
sbt/sbt-impl/src/org/jetbrains/sbt/annotator/SbtAnnotator.scala (1 line):
- line 16: // TODO: we need to review SBT 2.0 new rules and adopt SbtAnnotator logic
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/FilterHeadOptionInspection.scala (1 line):
- line 19: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/formatting/scalafmt/processors/ScalaFmtPreFormatProcessor.scala (1 line):
- line 966: //TODO get rid of this once com.intellij.util.text.TextRanges does not have an error on unifying (x, x+1) V (x+1, y)
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/base/ScIdListImpl.scala (1 line):
- line 19: @nowarn("cat=deprecation") // TODO: SCL-23400
sbt/sbt-impl/src/org/jetbrains/plugins/scala/build/buildMessages.scala (1 line):
- line 132: false // TODO figure out what this is supposed to do?
scala/worksheet/src/org/jetbrains/plugins/scala/worksheet/server/NonServerRunner.scala (1 line):
- line 43: case Left(error) => // TODO: propagate error
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/transformation/SelectionDialog.scala (1 line):
- line 183: // TODO remove the default argument when all transformers are implemented
scala/scala-impl/src/org/jetbrains/plugins/scala/project/sdkdetect/ScalaSdkProvider.scala (1 line):
- line 16: // TODO: coursier SDKs are shown with a big delay because coursier needs to scan more folders
bsp-builtin/bsp/src/org/jetbrains/bsp/data/ScalaSdkService.scala (1 line):
- line 54: // TODO: currently we agreed that BSP implementation should just omit Scala3 doc jars in `ScalaBuildTarget.jars` field
scala/compiler-shared/src/org/jetbrains/jps/incremental/scala/package.scala (1 line):
- line 18: // TODO implement a better version comparison
scala/worksheet-repl-interface/repl-interface/src/org/jetbrains/jps/incremental/scala/local/worksheet/repl_interface/ILoopWrapper.java (1 line):
- line 5: // TODO: rename to something more abstract, ReplInstanceWrapper?
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/DummyScalaAnnotationBuilder.scala (1 line):
- line 87: def this() = this(null) // TODO: track local quick-fixes as well
scala/scala-impl/src/org/jetbrains/plugins/scala/annotator/hints/package.scala (1 line):
- line 9: // TODO Use built-in "advanced" hint API when it will be available in IDEA, SCL-14502
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/format/ScalaMalformedFormatStringInspection.scala (1 line):
- line 69: * TODO: Show details of what is malformed, like in java SCL-18606
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/statements/ScTypeAlias.scala (1 line):
- line 12: // TODO: ScDefinitionWithAssignment should go to ScTypeAliasDefinition but first, we should fix parser
scala/scala-impl/src/org/jetbrains/plugins/scala/finder/ScalaClassFinder.scala (1 line):
- line 80: case e: ScEnum => Some(e) // TODO Is this required?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/intrinsics/TupleIntrinsics.scala (1 line):
- line 102: // TODO: you know how to do this? Go then do it!!!
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/transformation/annotations/package.scala (1 line):
- line 25: case _ => // TODO support compound types
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/imports/ScImportStmtImpl.scala (1 line):
- line 81: @nowarn("cat=deprecation") // TODO: SCL-23400
scala/scala-impl/src/org/jetbrains/plugins/scala/format/StringPart.scala (1 line):
- line 41: * TODO: should we using system property?
scala/conversion/src/org/jetbrains/plugins/scala/conversion/copy/plainText/TextJavaCopyPastePostProcessor.scala (1 line):
- line 74: // TODO: Collect available imports in current scope. Use them while converting
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/api/base/ScReference.scala (1 line):
- line 193: // TODO indirect references via vals, e.g. `package object scala { val List = scala.collection.immutable.List }` ?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/scaladoc/generate/ScaladocSettings.java (1 line):
- line 30: XmlSerializerUtil.copyBean(state, this); // TODO: from docs: defensive copying is not required.
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/syntacticSimplification/FunctionTupleSyntacticSugarInspection.scala (1 line):
- line 124: // TODO: Test
scala/conversion/src/org/jetbrains/plugins/scala/conversion/ast/Members.scala (1 line):
- line 3: //TODO setter&getter
scala/nailgun/src/org/jetbrains/plugins/scala/nailgun/NailgunRunner.java (1 line):
- line 156: // TODO: token should be checked
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/nonvalue/ScTypePolymorphicType.scala (1 line):
- line 16: // TODO: a dirty hack parameter, created in order ScalaTypePresentation.typeText generates proper text
scala/scala-impl/src/org/jetbrains/plugins/scala/settings/annotations/Implementation.scala (1 line):
- line 70: case _ => new Definition {} // TODO support isSimple for JavaPsi
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/transformation/general/ExpandStringInterpolation.scala (1 line):
- line 14: // TODO it's probably simpler to parse the string directly, the format parser is for a different use case
bsp-builtin/bsp/src/org/jetbrains/bsp/project/importing/projectImport.scala (1 line):
- line 168: // TODO duplicated with org.jetbrains.sbt.project.SbtOpenProjectProvider.FinalImportCallback
scala/integration/ml-completion/src/org/jetbrains/plugins/scala/mlCompletion/sbt/SbtDependencyVersionCompletionMLPolicy.scala (1 line):
- line 9: // TODO: Reimplement when https://youtrack.jetbrains.com/issue/IDEA-272935 is fixed
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/lexer/LayeredLexer.java (1 line):
- line 21: private static final int OUT_OF_LAYER_STATE = 1024; // TODO: Other value?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/impl/base/patterns/ScStableReferencePatternImpl.scala (1 line):
- line 21: // TODO: this is obviously wrong but fixing is is difficult
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/types/ScalaTypePresentation.scala (1 line):
- line 454: // TODO Custom lambda and polymorphic function types, SCL-20394
sbt/sbt-impl/src/org/jetbrains/sbt/project/settings/SbtExecutionSettings.scala (1 line):
- line 16: // TODO: add cross-references about some other settings-like entiites
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/SizeToLengthInspection.scala (1 line):
- line 20: // TODO infix notation?
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/psi/ScalaPsiUtil.scala (1 line):
- line 1814: // TODO: Evaluate?
scala/codeInsight/src/org/jetbrains/plugins/scala/codeInsight/hints/rangeHints/InlineInlayRendererWithContextMenu.java (1 line):
- line 15: // TODO: Maybe we should have another design for the context menu of our inlay hints.
scala/scala-impl/src/org/jetbrains/plugins/scala/codeInspection/collections/MakeArrayToStringInspection.scala (1 line):
- line 24: // TODO infix notation?