Skip to content

Commit

Permalink
Remove not working links and references
Browse files Browse the repository at this point in the history
  • Loading branch information
Krotki committed Apr 25, 2024
1 parent ba17fb3 commit 92acce9
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: 💬 General Questions and Answers about IntelliJ V
url: https://github.com/i582/vlang-idea/discussions/categories/questions-and-answers
url: https://github.com/vlang/intellij-v/discussions/categories/questions-and-answers
about: You can ask and answer questions about plugin in the discussions forum.

- name: 💬 V Discord Server
Expand Down
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

## [0.0.1-beta.4] - 17.04.2023

Learn more in blog post: https://blog.vosca.dev/intellij-v-beta.4/

### Added

- Added initial debugger expression evaluation
Expand Down
25 changes: 0 additions & 25 deletions src/main/kotlin/io/vlang/ide/VlangPostStartupActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class VlangPostStartupActivity : ProjectActivity {
// ignore
}

showVoscaNotification()
checkUpdates(project)

invokeLater {
Expand All @@ -71,30 +70,6 @@ class VlangPostStartupActivity : ProjectActivity {
return toolchainCandidates
}

private fun showVoscaNotification() {
val key = "vosca.notification.shown"
val isShown = PropertiesComponent.getInstance().getBoolean(key)
if (isShown) {
return
}

VlangNotification("IntelliJ V is now a VOSCA project!")
.withActions(
VlangNotification.Action("Learn more about VOSCA...") { _, notification ->
BrowserUtil.browse("https://blog.vosca.dev/introducing-association/")
PropertiesComponent.getInstance().setValue(key, true)
notification.expire()
}
)
.withActions(
VlangNotification.Action("Don't show again") { _, notification ->
PropertiesComponent.getInstance().setValue(key, true)
notification.expire()
}
)
.show(null)
}

private fun checkUpdates(project: Project) {
val hasNewerVersion = InstalledPluginsState.getInstance().hasNewerVersion(PLUGIN_ID)
if (!hasNewerVersion) {
Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/stubs/compile_time.v
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ pub fn $embed_file(path string, compression_type CompressionType) EmbedFileData
// code into the current function. That means that the template automatically has
// access to that function's entire environment (like variables).
//
// See [Template documentation](https://docs.vosca.dev/concepts/templates/overview.html) for more details.
//
// Example:
// ```
// fn build() string {
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/stubs/errors.v
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,4 @@ module stubs
// // ^^^ err is set with error("not implemented")
// }
// ```
//
// See [Documentation](https://docs.vosca.dev/concepts/error-handling/overview.html)
// for more details.
pub const err = IError{}
8 changes: 4 additions & 4 deletions src/main/resources/stubs/primitives.v
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@ pub type byte = u8
pub type rune = int

// char is an alias for u8 and is equivalent to u8 in all ways.
// Mostly used for [C interoperability](https://docs.vosca.dev/advanced-concepts/v-and-c.html).
// Mostly used for C interoperability.
pub type char = u8

// voidptr is an untyped pointer.
// Mostly used for [C interoperability](https://docs.vosca.dev/advanced-concepts/v-and-c.html).
// Mostly used for C interoperability.
pub type voidptr = voidptr

// byteptr is a byte pointer.
// Mostly used for [C interoperability](https://docs.vosca.dev/advanced-concepts/v-and-c.html).
// Mostly used for C interoperability.
pub type byteptr = byteptr

// charptr is a char pointer.
// Mostly used for [C interoperability](https://docs.vosca.dev/advanced-concepts/v-and-c.html).
// Mostly used for C interoperability.
pub type charptr = charptr
2 changes: 0 additions & 2 deletions src/main/resources/stubs/threads.v
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,4 @@ struct ThreadPool[T] {}
// // All jobs finished: [1, 4, 9, 16, 25, 36, 49, 64, 81]
// }
// ```
//
// See [Documentation](https://docs.vosca.dev/concepts/concurrency.html) for more details.
pub fn (t ThreadPool[T]) wait() []T
2 changes: 0 additions & 2 deletions src/main/resources/stubs/vweb.v
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ pub fn (v VWebTemplate) html() vweb.Result
// That means that the template automatically has access to that
// function's entire environment (like variables).
//
// See [vweb documentation](https://modules.vosca.dev/standard_library/vweb.html) for more information.
//
// Example:
// ```
// @['/']
Expand Down

0 comments on commit 92acce9

Please sign in to comment.