From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C74364565E; Mon, 29 Jul 2024 15:17:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3AE0406A2; Mon, 29 Jul 2024 15:17:27 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by mails.dpdk.org (Postfix) with ESMTP id 8BCF040674 for ; Mon, 29 Jul 2024 15:17:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1722259046; x=1753795046; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=BVVDmEkUosShwfOssGPlJ18YuRXQULW16/vDOprCnGg=; b=F66kYnkpipVSzhXMyBz+zxeXD62+skW1FAr6NzFedtZ1efY9+j7etVbw J/iTY5LViAEab/d13o8Bd8p4j3dbOzglq/fiN8wVOAaPJhDSZPq8erBiq dERxLBg7x/DWNfOvGQOdadqWI4TTbeYPb+f8Zbi8Dj3J+pNxclyLC0cOj oHb/aqbqZsA+/0A9Cyn79was0TRTTJ6/w94OoxJ2R1XWarvj5u+BPFWqu gvya+3Wsc0jy5FRiqaUioAOzAWLhMoJA5PZXisuQKgqAfvBjPX9SOmPqM DaJOhvTvnYCCaN6GYxTu59LIVVXwXc0+vViZ2hu6ebFLk20VMEgzm7l4c g==; X-CSE-ConnectionGUID: 4ECJIfGwSceieJn/wdUm6g== X-CSE-MsgGUID: 3Njy/v8VSMSS+qnazi3b3w== X-IronPort-AV: E=McAfee;i="6700,10204,11148"; a="19961700" X-IronPort-AV: E=Sophos;i="6.09,246,1716274800"; d="scan'208";a="19961700" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2024 06:17:25 -0700 X-CSE-ConnectionGUID: sqOvV5sGSlKNt+jCFTg+/g== X-CSE-MsgGUID: CgeECQ9CRzKtStlj6TqyQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,246,1716274800"; d="scan'208";a="58105213" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 29 Jul 2024 06:17:24 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 29 Jul 2024 06:17:23 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 29 Jul 2024 06:17:23 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Mon, 29 Jul 2024 06:17:23 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.45) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 29 Jul 2024 06:17:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uLs42a63eh+8m5SmgfkeUGcMNn637dZ3YwZzKNx1w22ec8/C9gHqxz6e7f6OWeYVj2A4XEql4TEqClnhksvgZ8LpJVwYrHt132rzZ3NV1wKeoP2qPP+/A/LcQE46YEeemNclfroIzTeETr6SSzsvSuYA+N8b7yCsNvKT30j527OCp2EVoEJU54zUE+lOB6X+2LOLZeCVWT4nvBdX9BYp4V/5FP+htDxYwBeDEe/H19m1JxkufovlaFAXlcxM+a6A0y5CSl1fkKbY+bpzIBGLokBe3Z3XBvAlGP5c/29vYcL3WeaS1I0GY4k+AQAWCQQdD1hXo9zvWQYpDRbGC3zIWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bE1EfCRh0xEDBvMczpZK6aCd+wHG+TSuWp3JhkFkrzM=; b=reFVYkvE4QAdCrnK+SXr4iVZvTWh5ceocUH9FZ4TN7JZqBtps/xmAAcOlH1nZPC+EplpnxEou2ZcD7udDFSxfT8PGTdL6eZRdx4rV8L+KAYN0lnkP+60v0tleFoMzdp52A9a8bndZsYR2M2uj6BCaSPPjsVOyh6Q6zyzKFFe3hRYIu899jENNYaISESszKQEz5nGK2lSq04k1/zT7WSjA4gvp4HXGwz6VeBIgLvClyR7+rLBW9HFWJdrswxBFYWak9poFVWNtC3rAkk9fx3EfgfxSkI0Y1xQzK/o6s1ozHFmLddI0vbFA2wstyqPrdmafIGldrmszZ9g5YU47PjuyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by CH3PR11MB7771.namprd11.prod.outlook.com (2603:10b6:610:125::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Mon, 29 Jul 2024 13:17:21 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a%7]) with mapi id 15.20.7807.026; Mon, 29 Jul 2024 13:17:21 +0000 Message-ID: <9a9f69f0-9603-4c72-bb67-85ea484fe87f@intel.com> Date: Mon, 29 Jul 2024 15:17:12 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v2 1/1] devtools: add vscode configuration generator To: Bruce Richardson CC: , References: <99003582461c7ec772e49dae9b43840496342646.1722258213.git.anatoly.burakov@intel.com> Content-Language: en-US From: "Burakov, Anatoly" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU6P191CA0004.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:540::21) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|CH3PR11MB7771:EE_ X-MS-Office365-Filtering-Correlation-Id: 9bb519df-9328-4be9-ef71-08dcafd0c715 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?S3QwYnlHMmxkUHBhMUpKamY5a3l3dTlNeUZESndzejJIMkd4dDlqUGVpUjRF?= =?utf-8?B?akRUeHVneWNrNWZPMEprakdFcWpLVG5nT3dEckszSjVKajNLc05KRTBZL3kw?= =?utf-8?B?a1lIelE5Tm1XS0xVRW95dWVwNDdWNTI2NlZnSUkrRk5OWkZDSzlvNFNYTitH?= =?utf-8?B?R3BCM3BrRjVWTm9oeWJkWnVwdVR5OUxiMjJreG1xWDFHNFRhYmZZRmI1cit4?= =?utf-8?B?S3hmY1g3MFpGdUpL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NqM2VnVlhpcWVvSE1EMFgyV0lQTHJpT0tuUnB5QzlwY0x6S3hm?= =?utf-8?B?blVSUm5nRzUyKzlIRlExKzhlRWsyWHhhL1hqOEh4c1o2eCtXTXdrTTJCR2lQ?= =?utf-8?B?YkVDM3RRZEltNC9mOWlrU3VjdTJjS2wyZUJMMng0QmgvaGxSdEl6MW5uV0NX?= =?utf-8?B?TTk1S3RnbGgvZ3VreFp3ZU10aVVlcExyalloU3EwOFJ3N244TWxyRHBZZ3RM?= =?utf-8?B?RmM5RW1mUGRMY3F2a3N2eEJodFFBRkQ3Rm04c2ZKMzB3cDljdmdMeVkrU0Jn?= =?utf-8?B?UVlxQkNPQVg3dmV4SFNvNEQ4SFVMT09hSFFOQ2wybFc4NDY4NVBBUGxONTdO?= =?utf-8?B?WTVWck5aREh2WVF3OTh2ZjNnMVEwekZXZ2ZNRnVvMzJva2EwN3lOZ0JSTWZH?= =?utf-8?B?R0QvS3FYSVMzblN4SHJnNXpFSmlCUStLOERmaGVHcmpQREJXY2U1Si9yMFJM?= =?utf-8?B?b0xqTWpYd0k0cnFLRVZTK2dsOEpUK1hWcGlDdVNWYTlEcGgvMzJDVjVRRlpz?= =?utf-8?B?dzc3aEQvcFlOWVNiUWJ1VVd3dE9HcTVneURLL0JTNG5FOHpoUEZ4OXVDQTIz?= =?utf-8?B?ck1KUVZBVG5VNExDMG5oYllCb1MyWjFGVFRZNS9OR2ZWUWJPSHNwRVRpeTRS?= =?utf-8?B?OC95TnBXbVZGdElPYVlGUT09?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eDJ1bjB5eUdNWCtUV0lHUkVVdVVGVC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yt3R0paM0NydlVkcllMZERyYXh2N3luWE9HYmsxN2hWc2E0?= =?utf-8?B?Z3hhcnNVdEpTbmdqcTdYWlRQc3I5VUZnYUh1YnZWMWNEV2xWUzdidk8vcHIw?= =?utf-8?B?MUw4TXFDQW5xS1JRR05EY3VuYWpoeU5xQzJqZDRiSy9uMnZHY0E2YVdRTjV1?= =?utf-8?B?a2N2c2NaNnoxdkdsSXZ6U1dWMUlDQTZ5eWZLaVRvVmxDKzkrUnp2ZDNzcEVV?= =?utf-8?B?dVFIeEtoTVZWeFNuY2J3TWNNWklBdndwRjVMTm5wYUttZmRFV0hDR1d3cndF?= =?utf-8?B?dHlIcjlud2puZ2pUanNmVVcwSXBSYkszQjdLVklhbGM5TmJWeThGUXZlVnBY?= =?utf-8?B?d0E9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 9bb519df-9328-4be9-ef71-08dcafd0c715 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2024 13:17:21.0051 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HP8f/QA5wNzLZTOA9+h9L1X9Z0T4lhCGC7BM9RR3+SBoaooDQTPwWEouYkaBMOQp7L/hOZoEQFcJAbxto5A+tcsZFCvY0lqIpHlycGNAwwo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB7771 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 7/29/2024 3:14 PM, Bruce Richardson wrote: > On Mon, Jul 29, 2024 at 02:05:52PM +0100, Anatoly Burakov wrote: >> A lot of developers use Visual Studio Code as their primary IDE. This >> script generates a configuration file for VSCode that sets up basic build >> tasks, launch tasks, as well as C/C++ code analysis settings that will >> take into account compile_commands.json that is automatically generated >> by meson. >> >> Files generated by script: >> - .vscode/settings.json: stores variables needed by other files >> - .vscode/tasks.json: defines build tasks >> - .vscode/launch.json: defines launch tasks >> - .vscode/c_cpp_properties.json: defines code analysis settings >> >> The script uses a combination of globbing and meson file parsing to >> discover available apps, examples, and drivers, and generates a >> project-wide settings file, so that the user can later switch between >> debug/release/etc. configurations while keeping their desired apps, >> examples, and drivers, built by meson, and ensuring launch configurations >> still work correctly whatever the configuration selected. >> >> This script uses whiptail as TUI, which is expected to be universally >> available as it is shipped by default on most major distributions. >> However, the script is also designed to be scriptable and can be run >> without user interaction, and have its configuration supplied from >> command-line arguments. >> >> Signed-off-by: Anatoly Burakov >> --- >> > Not sure where it would go - contributors guide probably - but I think this > script could do with some docs, especially a quick-setup example on how to > use. Having it in the docs will also make it more likely someone will use > this. > > /Bruce Yep, this is the next step :) I've left it until v1 to add docs. -- Thanks, Anatoly