Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images #96

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
Expand All @@ -10,7 +7,28 @@
"type": "dart",
"program": "packages/app/lib/main.dart",
"flutterMode": "debug",
"toolArgs": ["--dart-define=FLUTTER_WEB_DEBUG_SHOW_SEMANTICS=true", ]
"toolArgs": [
"--dart-define=FLUTTER_WEB_DEBUG_SHOW_SEMANTICS=true"
]
},
{
"name": "C/C++ Runner: Debug Session",
"type": "cppdbg",
"request": "launch",
"args": [],
"stopAtEntry": false,
"externalConsole": true,
"cwd": "c:/Users/matts/Desktop/Code Shit/Flutter_Projects/Town-Talk-Test/nexus",
"program": "c:/Users/matts/Desktop/Code Shit/Flutter_Projects/Town-Talk-Test/nexus/build/Debug/outDebug",
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
}
131 changes: 63 additions & 68 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,60 +1,19 @@
{
// Causes the debug view to automatically appear when a breakpoint is hit. This
// setting is global and not configurable per-language.
"debug.openDebug": "openOnDebugBreak",

// By default, VS Code will only switch to the Debug Console when you start
// debugging the first time in a session. This setting tells VS Code to always
// switch to the Debug Console when starting a session, so you can see the
// programs output.
"debug.internalConsoleOptions": "openOnSessionStart",

// Automatically format code on save.
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
},

"[dart]": {
// Automatically format code during typing of certain characters
// (like `;` and `}`).
"editor.formatOnType": true,

// // Draw a guide line at 80 characters, where Dart's formatting will wrap code.
// "editor.rulers": [80],

// Disables built-in highlighting of words that match your selection. Without
// this, all instances of the selected text will be highlighted, interfering
// with Dart's ability to highlight only exact references to the selected variable.
"editor.selectionHighlight": false,

// By default, VS Code prevents code completion from popping open when in
// "snippet mode" (editing placeholders in inserted code). Setting this option
// to `false` stops that and allows completion to open as normal, as if you
// weren't in a snippet placeholder.
"editor.suggest.snippetsPreventQuickSuggestions": false,

// By default, VS Code will pre-select the most recently used item from code
// completion. This is usually not the most relevant item.
//
// "first" will always select top item
// "recentlyUsedByPrefix" will filter the recently used items based on the
// text immediately preceding where completion was invoked.
"editor.suggestSelection": "first",

// Allows pressing <TAB> to complete snippets such as `for` even when the
// completion list is not visible.
"editor.tabCompletion": "onlySnippets",

// By default, VS Code will populate code completion with words found in the
// current file when a language service does not provide its own completions.
// This results in code completion suggesting words when editing comments and
// strings. This setting will prevent that.
"editor.wordBasedSuggestions": "off"
},

// Clean up the project root directory by nesting related files.
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"pubspec.yaml": ".metadata, analysis_options.yaml, pubspec.lock, build.yaml, dartdoc_options.yaml, l10n.yaml, pubspec_overrides.yaml, dart_test.yaml, melos.yaml",
Expand All @@ -66,8 +25,6 @@
".env": ".env.*",
"app.iml": "*.iml"
},

// Configure the Yaml extension to add auto-completion for common Flutter files.
"yaml.schemas": {
"https://json.schemastore.org/github-issue-config.json": [
".github/ISSUE_TEMPLATE/config.yml"
Expand All @@ -78,8 +35,6 @@
"build.*.yaml"
]
},

// Speed up operations on Windows by reducing file locking & watching over `.dart_tool`.
"files.exclude": {
"**/.git": true,
"**/.svn": true,
Expand All @@ -89,33 +44,74 @@
"**/Thumbs.db": true,
"**/.dart_tool": true
},

// Make L10nization request context for each new l10n key.
"l10nization.haveDescription": true,

// Configure the Dart extension to be handier.
"dart.renameFilesWithClasses": "prompt",
"dart.previewFlutterUiGuides": true,
"dart.enablePub": false, // We use Melos.

// Make commit messages more consistent.
"dart.enablePub": false,
"commitlint.config.extend.rules": {
"body-leading-blank": [1, "always"],
"body-max-line-length": [2, "always", 72],
"body-case": [1, "always", ["sentence-case"]],
"footer-leading-blank": [1, "always"],
"footer-max-line-length": [2, "always", 72],
"header-max-length": [2, "always", 50],
"scope-case": [2, "always", "lower-case"],
"body-leading-blank": [
1,
"always"
],
"body-max-line-length": [
2,
"always",
72
],
"body-case": [
1,
"always",
[
"sentence-case"
]
],
"footer-leading-blank": [
1,
"always"
],
"footer-max-line-length": [
2,
"always",
72
],
"header-max-length": [
2,
"always",
50
],
"scope-case": [
2,
"always",
"lower-case"
],
"subject-case": [
2,
"never",
["sentence-case", "start-case", "pascal-case", "upper-case"]
[
"sentence-case",
"start-case",
"pascal-case",
"upper-case"
]
],
"subject-empty": [
2,
"never"
],
"subject-full-stop": [
2,
"never",
"."
],
"type-case": [
2,
"always",
"lower-case"
],
"type-empty": [
2,
"never"
],
"subject-empty": [2, "never"],
"subject-full-stop": [2, "never", "."],
"type-case": [2, "always", "lower-case"],
"type-empty": [2, "never"],
"type-enum": [
2,
"always",
Expand All @@ -134,10 +130,9 @@
]
]
},

// Pin CI for the current branch to the status bar.
"github-actions.workflows.pinned.workflows": [
".github/workflows/ci.yaml"
],
"C_Cpp.errorSquiggles": "enabled"
}
"C_Cpp.errorSquiggles": "enabled",
"C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvarsall.bat"
}
45 changes: 45 additions & 0 deletions packages/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.pub-cache/
.pub/
/build/

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
14 changes: 7 additions & 7 deletions packages/app/.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
# This file should be version controlled and should not be manually edited.

version:
revision: "17025dd88227cd9532c33fa78f5250d548d87e9a"
channel: "stable"
revision: "5f2bf18183824b0acababc3c6017f9489ef22bc9"
channel: "master"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a
base_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a
- platform: android
create_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a
base_revision: 17025dd88227cd9532c33fa78f5250d548d87e9a
create_revision: 5f2bf18183824b0acababc3c6017f9489ef22bc9
base_revision: 5f2bf18183824b0acababc3c6017f9489ef22bc9
- platform: windows
create_revision: 5f2bf18183824b0acababc3c6017f9489ef22bc9
base_revision: 5f2bf18183824b0acababc3c6017f9489ef22bc9

# User provided section

Expand Down
Loading
Loading