Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
Change-Id: I92e377045fc62a137f63dfc90e311616997717db
  • Loading branch information
calcitem committed Jan 30, 2025
1 parent 49c329d commit 9a9aa66
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 19 additions & 0 deletions scripts/find_keys/bin/scan_keys.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@

// scan_keys.dart

// This script scans .dart files in the specified "lib" folder of a Flutter project,
// extracts all Key(...) / ValueKey(...) usages, collects their occurrences (including
// file path, line, and column), then generates a Markdown file ("keys_report.md")
// that presents the data in a tabular format.
//
// How to use:
// dart run bin/scan_keys.dart <path_to_flutter_project_lib>
//
// Example:
// dart run bin/scan_keys.dart ./lib
//
// After running, a "keys_report.md" file will appear in the project root directory,
// listing all the discovered Keys.
//
// Dependencies:
// In pubspec.yaml, ensure you have:
// dev_dependencies:
// analyzer: ^5.12.0 (or a version compatible with your Dart SDK)

import 'dart:io';
import 'package:analyzer/dart/analysis/utilities.dart';
import 'package:analyzer/dart/ast/ast.dart';
Expand Down
2 changes: 0 additions & 2 deletions src/perfect/perfect_move.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

// perfect_move.h

// pefect_move.h

#ifndef PERFECT_MOVE_H_INCLUDED
#define PERFECT_MOVE_H_INCLUDED

Expand Down

0 comments on commit 9a9aa66

Please sign in to comment.