id
stringlengths
20
30
source
stringclasses
1 value
chunk_index
int64
0
520k
token_count
int32
154
512
content
stringlengths
185
57.5k
rust_dataset_chunk_510100
rust_dataset.txt
510,100
512
grep="(\d+\.\d+\.\d+)" --perl-regexp --oneline --reverse ``` Then just: ``` git tag v0.0.2 abcd1234 git tag v0.0.3 deadbeef ``` Usually the initial extraction didn't mention a version number so you can just do that one manually. 4. [Optional] Add a README.md and commit. 5. Push to the new repo Create a new empty ...
rust_dataset_chunk_510101
rust_dataset.txt
510,101
512
# merge PR in web interface git checkout main git pull git tag v${NEW_VERSION} git push origin v${NEW_VERSION} ``` 7. In zed repository, remove the old extension and push a PR. ```sh rm -rf extensions/$LANGNAME sed -i '' "/extensions\/$LANGNAME/d" Cargo.toml cargo check git checkout -b remove_$LANGNAME git add exte...
rust_dataset_chunk_510102
rust_dataset.txt
510,102
512
use the same [zed_extension_api](https://docs.rs/zed_extension_api/latest/zed_extension_api/) available to all [Zed Extensions](https://zed.dev/extensions) for providing [language servers](https://zed.dev/docs/extensions/languages#language-servers), [tree-sitter grammars](https://zed.dev/docs/extensions/languages#gram...
rust_dataset_chunk_510103
rust_dataset.txt
510,103
512
formulaic construction throughout | **Red flags:** Em dash overuse, "It's not X, it's Y" constructions, triple parallel lists, sentences all same length. --- ## 3. Quiet Confidence (1-5) Does the copy state facts without hype or emotional manipulation? | Score | Description ...
rust_dataset_chunk_510104
rust_dataset.txt
510,104
512
| | ----- | -------------------------------------- | | 5 | Every claim is specific and verifiable | | 4 | Mostly specific with rare abstractions | | 3 | Mix of concrete and vague claims | | 2 | Mostly abstract benefits | | 1 | All claims are vague or u...
rust_dataset_chunk_510105
rust_dataset.txt
510,105
512
- **Any 3:** Rewrite flagged sections, re-score. - **Any 2 or below:** Full reconstruction required. - **Multiple failures:** Start fresh with new approach. --- FILE: zed/.factory/skills/brand-writer/SKILL.md --- --- name: brand-writer description: Write clear, developer-first copy for Zed — leading with facts, groun...
rust_dataset_chunk_510106
rust_dataset.txt
510,106
512
. **Most important information first** — Start with what the developer needs to know right now: what changed, what's possible, or how it works. Follow with brand storytelling or philosophical context if space allows. 2. **Thoughtful, not performative** — Write like you're explaining something you care about, not pitch...
rust_dataset_chunk_510107
rust_dataset.txt
510,107
512
patterns and fact preservation rules 2. **Search for relevant context** (if needed): - Existing copy on zed.dev for tone reference - Technical details about the feature from docs or code - Related announcements or prior messaging ### Phase 3: Draft (Two-Pass System) **Pass 1: First Draft with Fact Markers*...
rust_dataset_chunk_510108
rust_dataset.txt
510,108
512
5 | | Natural Syntax | 4 | | Quiet Confidence | 5 | | Developer Respect | 5 | | Information Priority| 4 | | Specificity | 5 | | Voice Consistency | 4 | | Earned Claims | 5 | | **TOTAL** | 37/40 | ✅ All criteria 4+ ✅ Zero taboo phrases ✅ All facts pre...
rust_dataset_chunk_510109
rust_dataset.txt
510,109
512
- Present rewritten version with new scores --- ## Examples ### Good > Zed is written in Rust with GPU acceleration for every frame. When you type or move the cursor, pixels respond instantly. That responsiveness keeps you in flow. ### Bad > We're excited to announce our revolutionary new editor that will chan...
rust_dataset_chunk_510110
rust_dataset.txt
510,110
512
fast. You'll feel it in every interaction." ``` ### "It's not X, it's Y" ``` ❌ "It's not just an editor — it's a complete development environment." ✅ "Zed combines editing, collaboration, and AI assistance in one workspace." ``` ### Triple Parallel Lists ``` ❌ "Fast. Focused. Collaborative." ❌ "Write code. Ship fa...
rust_dataset_chunk_510111
rust_dataset.txt
510,111
512
" | By what measure? | --- ## Forbidden Punctuation | Pattern | Rule | | ----------- | ---------------------------------- | | `!` | Never. Zero exclamation points. | | `...` | No dramatic ellipses | | ALL CAPS | No shouting for em...
rust_dataset_chunk_510112
rust_dataset.txt
510,112
512
X, it's Y" construction **Yellow flags (review carefully):** - Any word from Hype Words list - Sentences starting with "And" or "But" - Questions in headlines - Lists of exactly three items --- FILE: zed/.factory/skills/brand-writer/voice-examples.md --- # Voice Transformation Examples Ten before/after transforma...
rust_dataset_chunk_510113
rust_dataset.txt
510,113
512
**Before (Score: 2/5 Natural Syntax)** > Zed is fast — really fast — and built for the way developers actually work — not how tools think they should work. **After (Score: 5/5)** > Zed is built for speed. We optimized for the workflows developers actually use: jumping between files, searching across projects, editin...
rust_dataset_chunk_510114
rust_dataset.txt
510,114
512
Accept with Tab, reject by continuing to type. The model runs locally or connects to your preferred API. **Transformation notes:** - "enhances productivity" → specific UX - "streamlines workflow" → actual interaction model - "code smarter" → deleted (meaningless) - Added technical options (local vs API) --- ## 8. ...
rust_dataset_chunk_510115
rust_dataset.txt
510,115
512
frustrating, slow, bloated" → removed comparison - Added concrete proof point (open source) --- ## Fact Preservation Rules When transforming copy, certain elements must survive unchanged: ### Mark During Diagnosis Tag factual claims with `[FACT]` during diagnosis phase: ``` Zed is written in [FACT: Rust] with [FA...
rust_dataset_chunk_510116
rust_dataset.txt
510,116
512
| | Enthusiasm | Delete; add substance | | Vague benefits | Name specific features | | Buried lede | Lead with the news | | Rhetorical questions | Make declarative statements | | Abstract claims | Add mechanism or measurement | --- FILE: zed/.factory/skills/huma...
rust_dataset_chunk_510117
rust_dataset.txt
510,117
512
.** Short punchy sentences. Then longer ones that take their time getting where they're going. Mix it up. **Acknowledge complexity.** Real humans have mixed feelings. "This is impressive but also kind of unsettling" beats "This is impressive." **Use "I" when it fits.** First person isn't unprofessional - it's honest....
rust_dataset_chunk_510118
rust_dataset.txt
510,118
512
..., reflecting/symbolizing..., contributing to..., cultivating/fostering..., showcasing... **Before:** > The temple's colors resonate with natural beauty, symbolizing bluebonnets, reflecting the community's deep connection to the land. **After:** > The temple uses blue and gold colors. The architect said these were ...
rust_dataset_chunk_510119
rust_dataset.txt
510,119
512
as the exhibition space. The gallery features four spaces and boasts over 3,000 square feet. **After:** > Gallery 825 is the exhibition space. The gallery has four rooms totaling 3,000 square feet. #### 9. Negative Parallelisms **Watch for:** "Not only...but...", "It's not just about..., it's..." **Before:** > It'...
rust_dataset_chunk_510120
rust_dataset.txt
510,120
512
#### 16. Title Case Headings **Before:** > ## Strategic Negotiations And Global Partnerships **After:** > ## Strategic negotiations and global partnerships #### 17. Emojis in Professional Writing **Before:** > 🚀 **Launch Phase:** The product launches in Q3 > 💡 **Key Insight:** Users prefer simplicity **After:** ...
rust_dataset_chunk_510121
rust_dataset.txt
510,121
512
. **After:** > The policy may affect outcomes. #### 24. Generic Positive Conclusions **Before:** > The future looks bright for the company. Exciting times lie ahead as they continue their journey toward excellence. **After:** > The company plans to open two more locations next year. --- ## Process 1. Read the in...
rust_dataset_chunk_510122
rust_dataset.txt
510,122
512
actors. They're also great at sounding right while being wrong. I've accepted suggestions that compiled, passed lint, and still missed the point because I stopped paying attention. > > If you don't have tests, you're basically guessing. **Changes Made:** - Removed chatbot artifacts ("Great question!", "I hope this he...
rust_dataset_chunk_510123
rust_dataset.txt
510,123
512
/docs/telemetry) - **We honor Global Privacy Control** (GPC) signals from your browser - To access, correct, or delete your data, email [privacy@zed.dev](mailto:privacy@zed.dev) with subject “Privacy Request” Questions? Contact us at [privacy@zed.dev](mailto:privacy@zed.dev). The full policy below contains complete ...
rust_dataset_chunk_510124
rust_dataset.txt
510,124
512
name, work email, company name, company size, and any other data you share with us. - **Communications** - When you contact us directly, we may receive personal data about you, such as your name, email address, message contents and attachments, and - if you join a live collaboration session - we process, but do not s...
rust_dataset_chunk_510125
rust_dataset.txt
510,125
512
automatically collect telemetry - technical logs, metrics, and usage data - to improve and support Zed Industries’s websites, Software, and Services. When you sign into or use the websites or Services (including via the Software) we collect telemetry on our servers related to use of the websites and Services. - **Dev...
rust_dataset_chunk_510126
rust_dataset.txt
510,126
512
including as set forth below. - **Consent** - We may process your personal data where you have consented to certain processing of your personal data. For example, we may process your personal data to send you marketing communications or to use Cookies where you have consented to such use. - **Contractual Necessity**...
rust_dataset_chunk_510127
rust_dataset.txt
510,127
512
to use this information for AI training purposes. - **Web Analytics** - We use analytics services such as Amplitude to collect and process certain analytics data related to your use of our websites. These services utilize first-party cookies to collect information about your use of our websites, apps, and online reso...
rust_dataset_chunk_510128
rust_dataset.txt
510,128
512
://globalprivacycontrol.org/#gpc-spec) as an alternative where and when feasible. - **Disabling Image Loading for Email** - In order to prevent the use of tracking pixels, you may disable image loading in your own email client. ## Your Privacy Rights Depending on where you are located, applicable data protection law...
rust_dataset_chunk_510129
rust_dataset.txt
510,129
512
Our websites, products, and services may contain links to other websites, products, or services that we do not own or operate or permit you to integrate with third-party services. We are not responsible for the privacy or security practices of these third parties. Please be aware that this Privacy Policy does not app...
rust_dataset_chunk_510130
rust_dataset.txt
510,130
512
-approved or UK Government-approved Standard Contractual Clauses, or otherwise in accordance with applicable data protection laws. We may also transfer your data from the U.S. to other countries or regions in connection with storage and processing of data, fulfilling your requests, and operating our websites, products,...
rust_dataset_chunk_510131
rust_dataset.txt
510,131
512
### AI Subprocessors Zed offers three modes for AI: 1. **Bring your own API key** — data goes directly from the customer to the model provider; Zed does not process or store it. 2. [**External Agents**](https://zed.dev/docs/ai/external-agents) — Zed uses ACP to provide an enhanced experience with terminal-based AI co...
rust_dataset_chunk_510132
rust_dataset.txt
510,132
512
| **Amplitude** | Product analytics | United States | | **Axiom** | Application telemetry, observability, and logs | United States | | **Fivetran** | Automates data pipeline integra...
rust_dataset_chunk_510133
rust_dataset.txt
510,133
512
zero data retention agreement with xAI. | United States | --- FILE: zed/legal/terms.md --- --- title: General Terms of Service slug: terms --- *These General Terms of Service, together with the Product Terms applicable to each Product Customer uses, govern Customer's use of Zed Industries' Products.* *...
rust_dataset_chunk_510134
rust_dataset.txt
510,134
512
SECTION 15.2(a). ## 1. Definitions - **“Agreement”** means these General Terms of Service, the Product Terms applicable to each Product Customer uses, the DPA, the Privacy Policy, and any other documents expressly incorporated into the Agreement, collectively. - “**Account**” is defined in Section 2.2 below. - “**...
rust_dataset_chunk_510135
rust_dataset.txt
510,135
512
Agreement. ### 2.2. Access Grant During the Term, subject to Customer's compliance with the Agreement, Customer may access and use each Product Customer uses only for Customer's internal business purposes or for individuals, for personal non-commercial purposes, in accordance with the then-current version of Zed Ind...
rust_dataset_chunk_510136
rust_dataset.txt
510,136
512
vulnerability test of a Product; (e) transmit any viruses or other harmful materials to a Product or others; (f) take any action that risks harm to others or to the security, availability, or integrity of a Product except for the purposes of legitimate security or malware research; or (g) access or use a Product or Ou...
rust_dataset_chunk_510137
rust_dataset.txt
510,137
512
of changes before they apply. Fee changes for a Subscription Service will take effect at the start of the next Subscription Period following such notice. ### 3.2. Taxes Customer is responsible for any sales, use, GST, value-added, withholding, or similar taxes or levies that apply to Orders, whether domestic or fore...
rust_dataset_chunk_510138
rust_dataset.txt
510,138
512
to Customer's Account. Zed Industries or its third-party payment processor will bill the periodic Subscription Fee to the payment method associated with Customer's Account or that Customer otherwise provides to Zed Industries. Customer may cancel the Subscription Service from the account page or by contacting us at [b...
rust_dataset_chunk_510139
rust_dataset.txt
510,139
512
“**Output**”), including through the use of technologies that incorporate or rely upon artificial intelligence, machine learning techniques, and other similar technology and features. As between the Parties, to the greatest extent permitted by applicable Laws, Customer owns all Output and Zed Industries hereby irrevoc...
rust_dataset_chunk_510140
rust_dataset.txt
510,140
512
notice of the suspension (email sufficing). If the issue that led to the suspension is resolved, we will restore Customer's affected access. Without limiting our other rights under the Agreement, we may throttle, rate-limit, suspend, or terminate Customer's Account or access to one or more Products, revoke promotiona...
rust_dataset_chunk_510141
rust_dataset.txt
510,141
512
RIES IS NOT LIABLE FOR DELAYS, FAILURES, OR PROBLEMS INHERENT IN USE OF THE INTERNET AND ELECTRONIC COMMUNICATIONS OR OTHER SYSTEMS OUTSIDE OF ZED INDUSTRIES' CONTROL. ZED INDUSTRIES IS NOT RESPONSIBLE FOR ANY DAMAGE THAT MAY RESULT FROM ANY PRODUCT OR OUTPUT OR CUSTOMER'S DEALING WITH ANY OTHER PRODUCT USER. Without l...
rust_dataset_chunk_510142
rust_dataset.txt
510,142
512
at any time for any reason or no reason, with or without notice, and without any liability to Customer arising from such termination. Customer may terminate its Account and the Agreement at any time by contacting us at [hi@zed.dev](mailto:hi@zed.dev). ### 9.3. Effect of Termination Upon termination of the Agreement ...
rust_dataset_chunk_510143
rust_dataset.txt
510,143
512
ed Industries will have no liability to Customer for any change to a Product. ## 10. Ownership; Feedback Neither Party grants the other Party any rights or licenses not expressly set out in the Agreement. Except as expressly provided in the Agreement, as between the Parties, Customer retains all intellectual property...
rust_dataset_chunk_510144
rust_dataset.txt
510,144
512
ISE TO THE CLAIM IN THE 12 MONTHS PRIOR TO THE EVENT OR CIRCUMSTANCE GIVING RISE TO THE CLAIM; OR (B) US\$100. ### 11.3. EACH PROVISION OF THE AGREEMENT THAT PROVIDES FOR A LIMITATION OF LIABILITY, DISCLAIMER OF WARRANTIES, OR EXCLUSION OF DAMAGES IS INTENDED TO AND DOES ALLOCATE THE RISKS BETWEEN THE PARTIES UNDER T...
rust_dataset_chunk_510145
rust_dataset.txt
510,145
512
be reasonably understood to be proprietary or confidential due to its nature and the circumstances of its disclosure. Zed Industries' Confidential Information includes the terms and conditions of the Agreement and the Products (including any technical or performance information about a Product). Customer's Confidentia...
rust_dataset_chunk_510146
rust_dataset.txt
510,146
512
website or in other promotional materials. Customer may opt out at any time by emailing [legal@zed.dev](mailto:legal@zed.dev), after which we will promptly cease further use within thirty (30) days; provided that existing materials already distributed or published prior to receipt of such opt-out notice need not be re...
rust_dataset_chunk_510147
rust_dataset.txt
510,147
512
Department – Arbitration Opt-Out, 2590 Welton Street, Suite 200, PMB 1916, Denver, CO 80205 that specifies: Customer's full legal name, the email address associated with Customer's Account, and a statement that Customer wishes to opt out of arbitration (“**Opt-Out Notice**”). Once Zed Industries receives Customer's Op...
rust_dataset_chunk_510148
rust_dataset.txt
510,148
512
Arbitration Rules. (**e**) **Modification to AAA Rules - Arbitration Hearing/Location.** Customer agrees that any required arbitration hearing will be conducted in the English language by one (1) mutually agreed upon arbitrator, (a) in city/county and state of Customer's headquarters unless both Parties agree otherwi...
rust_dataset_chunk_510149
rust_dataset.txt
510,149
512
or default or a waiver of the provision itself. Use of Section headers in the Agreement are for convenience only and will not have any impact on the interpretation of any provision. Throughout the Agreement the use of the word “including” means “including but not limited to.” If any part of the Agreement is held to be...
rust_dataset_chunk_510150
rust_dataset.txt
510,150
512
), in which case we will provide a pro-rated refund of any prepaid Subscription Fee for that Product. The terms in any Customer purchase order or business form will not amend or modify the Agreement and are expressly rejected by us; any of these Customer documents are for administrative purposes only and have no legal ...
rust_dataset_chunk_510151
rust_dataset.txt
510,151
512
, or the Product as applying to that Product or a particular feature (the “**Additional Terms**”). Additional Terms are incorporated into the Agreement only where Zed Industries expressly states that they are incorporated. ### 16.11. Consent to Electronic Communications By using a Product, Customer consents to receiv...
rust_dataset_chunk_510152
rust_dataset.txt
510,152
512
/site-policy/acceptable-use-policies/github-acceptable-use-policies) - [GitHub Copilot Product Specific Terms](https://github.com/customer-terms/github-copilot-product-specific-terms) ## Google - [Google Generative AI Prohibited Use Policy](https://policies.google.com/terms/generative-ai/use-policy) ## OpenAI - [Op...
rust_dataset_chunk_510153
rust_dataset.txt
510,153
512
them as described in Section 9.1 of the General Terms and form part of the Agreement. Customer's use of the Zed Product, including any official build of the Software distributed by us, is governed by the Agreement, subject to Section 3 with respect to the Software's source code and any build Customer makes from it. #...
rust_dataset_chunk_510154
rust_dataset.txt
510,154
512
Terms, we and the AI Providers used to provide the Services will not retain or use Customer Data for the purpose of improving or training the Services or any such AI Provider's products, except to the extent Customer explicitly opts in through a specific feature of the Software or Services to allow training and/or suc...
rust_dataset_chunk_510155
rust_dataset.txt
510,155
512
the designated Collaboration Feature session. ### 5.2. Storage of AI Feedback We may store Output Ratings and the associated Customer Data that Customer explicitly shares with us under Section 4.3 for the purposes stated in that section. ## 6. Pricing and Usage Fees, subscription billing, payment authorization, ta...
rust_dataset_chunk_510156
rust_dataset.txt
510,156
512
Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is di...
rust_dataset_chunk_510157
rust_dataset.txt
510,157
512
which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, ...
rust_dataset_chunk_510158
rust_dataset.txt
510,158
512
such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses...
rust_dataset_chunk_510159
rust_dataset.txt
510,159
512
Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be unde...
rust_dataset_chunk_510160
rust_dataset.txt
510,160
512
. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Co...
rust_dataset_chunk_510161
rust_dataset.txt
510,161
512
to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to au...
rust_dataset_chunk_510162
rust_dataset.txt
510,162
512
vey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and promi...
rust_dataset_chunk_510163
rust_dataset.txt
510,163
512
those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this Licen...
rust_dataset_chunk_510164
rust_dataset.txt
510,164
512
keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work ba...
rust_dataset_chunk_510165
rust_dataset.txt
510,165
512
object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the ...
rust_dataset_chunk_510166
rust_dataset.txt
510,166
512
the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the ...
rust_dataset_chunk_510167
rust_dataset.txt
510,167
512
permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwith...
rust_dataset_chunk_510168
rust_dataset.txt
510,168
512
it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the co...
rust_dataset_chunk_510169
rust_dataset.txt
510,169
512
rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, usi...
rust_dataset_chunk_510170
rust_dataset.txt
510,170
512
infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered w...
rust_dataset_chunk_510171
rust_dataset.txt
510,171
512
resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Softw...
rust_dataset_chunk_510172
rust_dataset.txt
510,172
512
AINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local ...
rust_dataset_chunk_510173
rust_dataset.txt
510,173
512
for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <https://www.gnu.org/licenses/>. The GNU Gen...
rust_dataset_chunk_510174
rust_dataset.txt
510,174
512
an example rather than a test target, gated behind the `__end_to_end_harness` feature, so CI's `cargo nextest run --workspace` never builds or runs it. Its hidden supervisor/helper re-exec entrypoints are preserved. The harness runs as a normal user, not root, with namespace creation enabled and a 180-second outer tim...
rust_dataset_chunk_510175
rust_dataset.txt
510,175
512
# Zed [![Zed](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zed-industries/zed/main/assets/badge/v0.json)](https://zed.dev) [![CI](https://github.com/zed-industries/zed/actions/workflows/run_tests.yml/badge.svg)](https://github.com/zed-industries/zed/actions/workflows/run_tests.yml) Welcome to...
rust_dataset_chunk_510176
rust_dataset.txt
510,176
512
you're unsure, ask a lawyer. Once you've verified that this system is acceptable add the license's SPDX identifier to the `accepted` array in `script/licenses/zed-licenses.toml`. - Is `cargo-about` unable to find the license for a dependency? If so, add a clarification field at the end of `script/licenses/zed-licenses...
rust_dataset_chunk_510177
rust_dataset.txt
510,177
512
fs, value-preserving conversions (`clone`, `to_owned`, `to_string` on string types, `to_vec` on slices, `String::from` on `&str` — each resolved by definition, not name), and immutable local aliases, so looking up `&key` and inserting `key.clone()` is caught. - `notify_in_render` — `Context::notify()` called inside `Re...
rust_dataset_chunk_510178
rust_dataset.txt
510,178
512
script runs: ``` DYLINT_RUSTFLAGS="-A warnings --force-warn <lint>" cargo dylint --all -- <args> ``` It also handles two non-obvious gotchas: - `--force-warn` is required: after `-A warnings` silences the group, a plain `-W <lint>` does not reliably re-enable a driver-registered lint. - `DYLINT_RUSTFLAGS` is not ...
rust_dataset_chunk_510179
rust_dataset.txt
510,179
512
<ClickAction>, last_rendered_coordinates: Option<ComponentCoordinates>, keyboard_selectable: bool, pub is_active: bool, } impl ActiveComponent { pub fn new(text_no_hover: TextOrCustomRender) -> Self { ActiveComponent { text_no_hover, text_hover: None, left_cl...
rust_dataset_chunk_510180
rust_dataset.txt
510,180
512
::is_control) => { Some(destination.clone()) }, _ => None, } } pub fn left_click_action(&mut self) -> Option<Page> { match self.left_click_action.take() { Some(ClickAction::ChangePage(go_to_page)) => Some(go_to_page()), ...
rust_dataset_chunk_510181
rust_dataset.txt
510,181
512
_hover.len(), } } pub fn clear_hover(&mut self) { self.is_active = false; } } #[derive(Debug)] struct ComponentCoordinates { x: usize, y: usize, rows: usize, columns: usize, } impl ComponentCoordinates { pub fn contains(&self, x: usize, y: usize) -> bool { x >= ...
rust_dataset_chunk_510182
rust_dataset.txt
510,182
512
::new("xdg-open".to_owned())), ), ) } fn held(modifiers: &[KeyModifier]) -> BTreeSet<KeyModifier> { modifiers.iter().copied().collect() } #[test] fn a_plain_click_on_a_link_is_ours_to_open() { assert!(!link_component(URL).leaves_click_to_terminal(&held(&[]))); ...
rust_dataset_chunk_510183
rust_dataset.txt
510,183
512
Feature::StackOrientation => "stack orientation", Feature::Bars => "hiding the bars", Feature::SwapLayouts => "swap layouts", Feature::SessionRename => "renaming sessions", } } } #[derive(Debug, Clone)] pub enum Detection { ActionBoundAnywhere(Action), ...
rust_dataset_chunk_510184
rust_dataset.txt
510,184
512
(action) => action_is_bound(keybinds, action), Detection::KeyBoundToActions => { actions_bound_to_key(keybinds, self.mode_in(base_mode), &self.key) == Some(self.actions(base_mode)) }, } } } #[derive(Debug, Clone, PartialEq)] pub enum ApplyStatus {...
rust_dataset_chunk_510185
rust_dataset.txt
510,185
512
action| { action.launches_plugin("session-manager") || action.launches_plugin("zellij:session-manager") }); let changed = missing != self.missing || conflicts != self.conflicts || inbox != self.inbox || session_manager != self.session_manag...
rust_dataset_chunk_510186
rust_dataset.txt
510,186
512
_map(|index| self.expected.get(*index)) .collect() } pub fn binds_for_config(&self) -> Vec<(InputMode, KeyWithModifier, Vec<Action>)> { self.binds_to_add() .iter() .map(|bind| { ( bind.mode_in(self.base_mode), bi...
rust_dataset_chunk_510187
rust_dataset.txt
510,187
512
')), Action::FocusHostSession, "host session", true, ), ExpectedBind::new( Feature::NestedSessions, InputMode::Session, KeyWithModifier::new(BareKey::Char('[')), Action::FocusGuestSession, "guest session", ...
rust_dataset_chunk_510188
rust_dataset.txt
510,188
512
that needs you", true, ), ExpectedBind::new( Feature::Inbox, InputMode::Pane, KeyWithModifier::new(BareKey::Char('u')), Action::MutePane, "mute", true, ), ExpectedBind::new( Feature::Inbox, ...
rust_dataset_chunk_510189
rust_dataset.txt
510,189
512
::Char('z')).with_shift_modifier(), Action::ToggleBars { bars: vec![] }, "hide or show the bars", true, ), ExpectedBind::new( Feature::SwapLayouts, InputMode::Tab, KeyWithModifier::new(BareKey::Char(' ')), Action::NextSw...
rust_dataset_chunk_510190
rust_dataset.txt
510,190
512
0..=MAX_MODE_HOPS { let mut next_frontier = vec![]; for (mode, path) in &frontier { let Some((_, mode_binds)) = keybinds.iter().find(|(m, _)| m == mode) else { continue; }; for (key, actions) in mode_binds { if let Some(action) = action...
rust_dataset_chunk_510191
rust_dataset.txt
510,191
512
= if significant_actions.is_empty() { actions.iter().collect() } else { significant_actions }; actions_to_describe .iter() .map(|action| action.to_string()) .collect::<Vec<_>>() .join(", ") } --- FILE: zellij/default-plugins/about/src/main.rs --- mod active...
rust_dataset_chunk_510192
rust_dataset.txt
510,192
512
())); App { active_page: Page::new_main_screen( link_executable.clone(), "".to_owned(), base_mode.clone(), false, keybinding_state.clone(), facts.clone(), ), link_executable, ...
rust_dataset_chunk_510193
rust_dataset.txt
510,193
512
only_missing = configuration .get("only_missing_services") .map(|v| v == "true") .unwrap_or(false); Page::new_window_welcome(&missing, only_missing) } else if page == "repair" { self.special = Special::Repair; Page::new_repair(...
rust_dataset_chunk_510194
rust_dataset.txt
510,194
512
!("Failed to write config to disk."), }; eprintln!("{}", error); self.error = Some(error); should_render = true; } }, Event::ConfigWasWrittenToDisk => { if self.applying_keybindings() ...
rust_dataset_chunk_510195
rust_dataset.txt
510,195
512
, cols, error.to_owned()) } else { self.active_page.render(rows, cols, &self.error); } } } impl App { fn main_screen(&self) -> Page { Page::new_main_screen( self.link_executable.clone(), self.zellij_version.borrow().clone(), self.base_mode...
rust_dataset_chunk_510196
rust_dataset.txt
510,196
512
_page = Page::new_message("Something went wrong", &[error]); true }, } } fn shared(&self) -> Shared { Shared { link_executable: self.link_executable.clone(), keybinding_state: self.keybinding_state.clone(), facts: self.facts.clone()...
rust_dataset_chunk_510197
rust_dataset.txt
510,197
512
_pane(own_plugin_id, "Welcome"); } else if self.special == Special::Repair { rename_plugin_pane(own_plugin_id, "Zellij launcher"); } else if self.is_release_notes { rename_plugin_pane( own_plugin_id, format!("Release Notes {...
rust_dataset_chunk_510198
rust_dataset.txt
510,198
512
Request::Repair(RepairAnswer::Yes)); return Some(true); }, (BareKey::Char('n'), Special::Repair) | (BareKey::Esc, Special::Repair) => { request_desktop_integration(&Request::Repair(RepairAnswer::No)); close_self(); return Some(true)...
rust_dataset_chunk_510199
rust_dataset.txt
510,199
512
.bare_key == BareKey::Char('c') && key.has_modifiers(&[KeyModifier::Ctrl]) && self.is_startup_tip { self.waiting_for_config_to_be_written = true; let save_configuration = true; reconfigure("show_startup_tips false".to_owned(), save_configuration); ...